The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftGitX, reference main (1a4dad), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 15:34:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibrahimcetin/SwiftGitX.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ibrahimcetin/SwiftGitX
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1a4dadb Update expected libgit2 version in tests to 1.9.0
Cloned https://github.com/ibrahimcetin/SwiftGitX.git
Revision (git rev-parse @):
1a4dadbc82a7aa21abafc198eef0c77f6280114d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ibrahimcetin/SwiftGitX.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ibrahimcetin/SwiftGitX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/ibrahimcetin/libgit2.git
[1/2094] Fetching swift-docc-plugin
[253/109224] Fetching swift-docc-plugin, libgit2
[6381/160062] Fetching swift-docc-plugin, libgit2, swiftformat
[12700/315229] Fetching swift-docc-plugin, libgit2, swiftformat, swiftlint
Fetched https://github.com/ibrahimcetin/libgit2.git from cache (8.55s)
[36445/208099] Fetching swift-docc-plugin, swiftformat, swiftlint
Fetched https://github.com/apple/swift-docc-plugin from cache (52.57s)
[133077/206005] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (67.71s)
Fetched https://github.com/realm/SwiftLint.git from cache (68.76s)
Computing version for https://github.com/ibrahimcetin/libgit2.git
Computed https://github.com/ibrahimcetin/libgit2.git at 1.9.1 (78.78s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3501] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.62s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.60.0 (1.05s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/jpsim/Yams.git
[1/929] Fetching swiftytexttable
[48/1029] Fetching swiftytexttable, collectionconcurrencykit
[362/14041] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
[1635/30183] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten
[4305/41315] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten, yams
[6799/113163] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (4.04s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15692] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.09s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (11.51s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (11.54s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (11.55s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (11.58s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.61s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (14.75s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.83s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (4.39s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.81s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2847] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.41s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.77s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.1.0 (0.76s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.57.2 (0.92s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0-prerelease-2025-08-11 (1.24s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0-prerelease-2025-08-11
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.60.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.1.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.57.2
Creating working copy for https://github.com/ibrahimcetin/libgit2.git
Working copy of https://github.com/ibrahimcetin/libgit2.git resolved at 1.9.1
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.6.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftFormatPlugin
[4/4] Compiling plugin SwiftLintCommandPlugin
[5/5] Compiling plugin SwiftLintBuildToolPlugin
[6/6] Compiling plugin GenerateManual
[7/7] Compiling plugin GenerateDoccReference
Building for debugging...
[7/219] Compiling http.c
[8/219] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/varint.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/varint.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/git2_util.h:107:
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:437:3: error: unknown threading model
  437 | # error unknown threading model
      |   ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:453:22: error: unknown type name 'git_tlsdata_key'
  453 | int git_tlsdata_init(git_tlsdata_key *key, void (GIT_SYSTEM_CALL *destroy_fn)(void *));
      |                      ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:462:21: error: unknown type name 'git_tlsdata_key'
  462 | int git_tlsdata_set(git_tlsdata_key key, void *value);
      |                     ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:470:23: error: unknown type name 'git_tlsdata_key'
  470 | void *git_tlsdata_get(git_tlsdata_key key);
      |                       ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:478:25: error: unknown type name 'git_tlsdata_key'
  478 | int git_tlsdata_dispose(git_tlsdata_key key);
      |                         ^
5 errors generated.
[9/219] Compiling varint.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/zstream.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/zstream.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/git2_util.h:107:
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:437:3: error: unknown threading model
  437 | # error unknown threading model
      |   ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:453:22: error: unknown type name 'git_tlsdata_key'
  453 | int git_tlsdata_init(git_tlsdata_key *key, void (GIT_SYSTEM_CALL *destroy_fn)(void *));
      |                      ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:462:21: error: unknown type name 'git_tlsdata_key'
  462 | int git_tlsdata_set(git_tlsdata_key key, void *value);
      |                     ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:470:23: error: unknown type name 'git_tlsdata_key'
  470 | void *git_tlsdata_get(git_tlsdata_key key);
      |                       ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:478:25: error: unknown type name 'git_tlsdata_key'
  478 | int git_tlsdata_dispose(git_tlsdata_key key);
      |                         ^
5 errors generated.
[9/219] Compiling zstream.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/vector.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/vector.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/git2_util.h:107:
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:437:3: error: unknown threading model
  437 | # error unknown threading model
      |   ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:453:22: error: unknown type name 'git_tlsdata_key'
  453 | int git_tlsdata_init(git_tlsdata_key *key, void (GIT_SYSTEM_CALL *destroy_fn)(void *));
      |                      ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:462:21: error: unknown type name 'git_tlsdata_key'
  462 | int git_tlsdata_set(git_tlsdata_key key, void *value);
      |                     ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:470:23: error: unknown type name 'git_tlsdata_key'
  470 | void *git_tlsdata_get(git_tlsdata_key key);
      |                       ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:478:25: error: unknown type name 'git_tlsdata_key'
  478 | int git_tlsdata_dispose(git_tlsdata_key key);
      |                         ^
5 errors generated.
[9/219] Compiling vector.c
[9/219] Compiling util.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/wildmatch.c:19:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/wildmatch.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/git2_util.h:107:
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:437:3: error: unknown threading model
  437 | # error unknown threading model
      |   ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:453:22: error: unknown type name 'git_tlsdata_key'
  453 | int git_tlsdata_init(git_tlsdata_key *key, void (GIT_SYSTEM_CALL *destroy_fn)(void *));
      |                      ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:462:21: error: unknown type name 'git_tlsdata_key'
  462 | int git_tlsdata_set(git_tlsdata_key key, void *value);
      |                     ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:470:23: error: unknown type name 'git_tlsdata_key'
  470 | void *git_tlsdata_get(git_tlsdata_key key);
      |                       ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:478:25: error: unknown type name 'git_tlsdata_key'
  478 | int git_tlsdata_dispose(git_tlsdata_key key);
      |                         ^
5 errors generated.
[9/219] Compiling wildmatch.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/transports/auth_gssapi.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/transports/auth_negotiate.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/common.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/git2_util.h:107:
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:437:3: error: unknown threading model
  437 | # error unknown threading model
      |   ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:453:22: error: unknown type name 'git_tlsdata_key'
  453 | int git_tlsdata_init(git_tlsdata_key *key, void (GIT_SYSTEM_CALL *destroy_fn)(void *));
      |                      ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:462:21: error: unknown type name 'git_tlsdata_key'
  462 | int git_tlsdata_set(git_tlsdata_key key, void *value);
      |                     ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:470:23: error: unknown type name 'git_tlsdata_key'
  470 | void *git_tlsdata_get(git_tlsdata_key key);
      |                       ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/thread.h:478:25: error: unknown type name 'git_tlsdata_key'
  478 | int git_tlsdata_dispose(git_tlsdata_key key);
      |                         ^
[9/219] Compiling auth_gssapi.c
[9/219] Compiling utf8.c
[9/219] Compiling api.c
BUILD FAILURE 6.2 wasm