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 HDT, reference 0.0.6 (0cd118), with Swift 6.1 for Android on 27 May 2025 11:16:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/swift-hdt.git
Reference: 0.0.6
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/kasei/swift-hdt
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 0cd1183 Updated CryptoSwift dependency version to 1.0.0.
Cloned https://github.com/kasei/swift-hdt.git
Revision (git rev-parse @):
0cd1183ee7a5c60443e5e19693c981e95ccbad8d
SUCCESS checkout https://github.com/kasei/swift-hdt.git at 0.0.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kasei/swift-hdt.git
https://github.com/kasei/swift-hdt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-sparql-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.92",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/swift-sparql-syntax.git"
    },
    {
      "identity" : "kineo",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.64",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/kineo.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "HDT",
  "name" : "HDT",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HDT",
      "targets" : [
        "HDT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "hdt-write",
      "targets" : [
        "hdt-write"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "hdt-parse",
      "targets" : [
        "hdt-parse"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "hdt-info",
      "targets" : [
        "hdt-info"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_hdtTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-hdtTests",
      "path" : "Tests/swift-hdtTests",
      "product_dependencies" : [
        "Kineo"
      ],
      "sources" : [
        "HDTPerformanceTests.swift",
        "HDTTests.swift",
        "HDTTriplePatternMatching.swift",
        "UtilTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "HDT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "hdt_write",
      "module_type" : "SwiftTarget",
      "name" : "hdt-write",
      "path" : "Sources/hdt-write",
      "product_dependencies" : [
        "Kineo"
      ],
      "product_memberships" : [
        "hdt-write"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HDT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "hdt_parse",
      "module_type" : "SwiftTarget",
      "name" : "hdt-parse",
      "path" : "Sources/hdt-parse",
      "product_dependencies" : [
        "Kineo"
      ],
      "product_memberships" : [
        "hdt-parse"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HDT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "hdt_info",
      "module_type" : "SwiftTarget",
      "name" : "hdt-info",
      "path" : "Sources/hdt-info",
      "product_memberships" : [
        "hdt-info"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HDT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HDT",
      "module_type" : "SwiftTarget",
      "name" : "HDT",
      "path" : "Sources/HDT",
      "product_dependencies" : [
        "SPARQLSyntax",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "HDT",
        "hdt-write",
        "hdt-parse",
        "hdt-info"
      ],
      "sources" : [
        "CRC.swift",
        "Dictionary.swift",
        "HDT.swift",
        "HDTParser.swift",
        "Triples.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kasei/kineo.git
Fetching https://github.com/kasei/swift-sparql-syntax.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/2483] Fetching swift-sparql-syntax
[2/8723] Fetching swift-sparql-syntax, kineo
[3565/21657] Fetching swift-sparql-syntax, kineo, cryptoswift
Fetched https://github.com/kasei/kineo.git from cache (0.51s)
[4424/15417] Fetching swift-sparql-syntax, cryptoswift
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (1.56s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.59s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.0.117 (4.06s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.36s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.91s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.60s)
Computing version for https://github.com/kasei/kineo.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.60s)
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.0.117 (0.00s)
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.00s)
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.00s)
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (0.58s)
Computed https://github.com/kasei/kineo.git at 0.0.92 (0.00s)
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/kasei/diomede.git
Fetching https://github.com/kylef/URITemplate.swift.git
[1/788] Fetching diomede
[561/1600] Fetching diomede, uritemplate.swift
[1373/11365] Fetching diomede, uritemplate.swift, sqlite.swift
Fetched https://github.com/kasei/diomede.git from cache (0.32s)
Fetched https://github.com/kylef/URITemplate.swift.git from cache (0.32s)
[293/9765] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.05s)
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (1.06s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.11.6 (3.04s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.22s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (1.15s)
Computing version for https://github.com/kylef/URITemplate.swift.git
Computed https://github.com/kylef/URITemplate.swift.git at 3.0.1 (0.77s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1412/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.31s)
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.96s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.72s)
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.0.117 (0.00s)
Computing version for https://github.com/kasei/diomede.git
warning: 'diomede': /Package.swift:28:4: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
26 |     dependencies: [
27 |         .package(url: "https://github.com/agisboye/CLMDB.git", from: "0.9.24"),
28 | 		.package(name: "CryptoSwift", url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.5.0")),
   |    `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
29 | 		.package(name: "SPARQLSyntax", url: "https://github.com/kasei/swift-sparql-syntax.git", .upToNextMinor(from: "0.2.0")),
30 |     ],
/Package.swift:29:4: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
27 |         .package(url: "https://github.com/agisboye/CLMDB.git", from: "0.9.24"),
28 | 		.package(name: "CryptoSwift", url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.5.0")),
29 | 		.package(name: "SPARQLSyntax", url: "https://github.com/kasei/swift-sparql-syntax.git", .upToNextMinor(from: "0.2.0")),
   |    `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
30 |     ],
31 |     targets: [
Computed https://github.com/kasei/diomede.git at 0.0.52 (0.90s)
Fetching https://github.com/agisboye/CLMDB.git
[1/45] Fetching clmdb
Fetched https://github.com/agisboye/CLMDB.git from cache (0.24s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.88s)
Creating working copy for https://github.com/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.0.117
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.11.6
Creating working copy for https://github.com/kasei/kineo.git
Working copy of https://github.com/kasei/kineo.git resolved at 0.0.92
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.0
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kasei/diomede.git
Working copy of https://github.com/kasei/diomede.git resolved at 0.0.52
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
Creating working copy for https://github.com/kylef/URITemplate.swift.git
Working copy of https://github.com/kylef/URITemplate.swift.git resolved at 3.0.1
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
Building for debugging...
[0/39] Write sources
[2/39] Compiling serd string.c
[3/39] Compiling serd writer.c
[4/39] Write sources
[8/39] Compiling serd reader.c
[9/39] Compiling serd node.c
[10/39] Write sources
[15/39] Compiling serd env.c
[16/39] Compiling serd byte_source.c
[17/39] Compiling LMDB midl.c
[18/39] Compiling serd n3.c
[19/39] Write swift-version-24593BA9C3E375BF.txt
[20/39] Compiling serd uri.c
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4977:17: error: call to undeclared function 'pthread_mutexattr_setrobust'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 4977 |                 if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4977:53: error: use of undeclared identifier 'PTHREAD_MUTEX_ROBUST'
 4977 |                 if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
      |                                                                   ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:10391:10: error: call to undeclared function 'pthread_mutex_consistent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 10391 |                         rc2 = mdb_mutex_consistent(mutex);
       |                               ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
  374 | #define mdb_mutex_consistent(mutex)     pthread_mutex_consistent(mutex)
      |                                         ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:10391:10: note: did you mean 'pthread_mutex_init'?
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
  374 | #define mdb_mutex_consistent(mutex)     pthread_mutex_consistent(mutex)
      |                                         ^
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/pthread.h:242:5: note: 'pthread_mutex_init' declared here
  242 | int pthread_mutex_init(pthread_mutex_t* _Nonnull __mutex, const pthread_mutexattr_t* _Nullable __attr);
      |     ^
3 errors generated.
[21/39] Compiling LMDB mdb.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4977:17: error: call to undeclared function 'pthread_mutexattr_setrobust'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 4977 |                 if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4977:53: error: use of undeclared identifier 'PTHREAD_MUTEX_ROBUST'
 4977 |                 if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
      |                                                                   ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:10391:10: error: call to undeclared function 'pthread_mutex_consistent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 10391 |                         rc2 = mdb_mutex_consistent(mutex);
       |                               ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
  374 | #define mdb_mutex_consistent(mutex)     pthread_mutex_consistent(mutex)
      |                                         ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:10391:10: note: did you mean 'pthread_mutex_init'?
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
  374 | #define mdb_mutex_consistent(mutex)     pthread_mutex_consistent(mutex)
      |                                         ^
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/pthread.h:242:5: note: 'pthread_mutex_init' declared here
  242 | int pthread_mutex_init(pthread_mutex_t* _Nonnull __mutex, const pthread_mutexattr_t* _Nullable __attr);
      |     ^
3 errors generated.
[0/19] Compiling LMDB mdb.c
[0/19] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android