The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Diomede, reference 0.0.66 (836a57), with Swift 6.1 for Android on 29 May 2025 21:34:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/diomede.git
Reference: 0.0.66
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/diomede
 * tag               0.0.66     -> FETCH_HEAD
HEAD is now at 836a57f Update to align with Xcode 16.1.
Cloned https://github.com/kasei/diomede.git
Revision (git rev-parse @):
836a57f10e722e6add58da6d3a2c1eae34b67a16
SUCCESS checkout https://github.com/kasei/diomede.git at 0.0.66
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kasei/diomede.git
https://github.com/kasei/diomede.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "clmdb",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.24",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/agisboye/CLMDB.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "swift-sparql-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/swift-sparql-syntax.git"
    }
  ],
  "manifest_display_name" : "Diomede",
  "name" : "Diomede",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Diomede",
      "targets" : [
        "Diomede"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DiomedeQuadStore",
      "targets" : [
        "DiomedeQuadStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "diomede-db-util",
      "targets" : [
        "diomede-db-util"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "diomede-cli",
      "targets" : [
        "diomede-cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "diomede_db_util",
      "module_type" : "SwiftTarget",
      "name" : "diomede-db-util",
      "path" : "Sources/diomede-db-util",
      "product_memberships" : [
        "diomede-db-util"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Diomede"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "diomede_cli",
      "module_type" : "SwiftTarget",
      "name" : "diomede-cli",
      "path" : "Sources/diomede-cli",
      "product_memberships" : [
        "diomede-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "DiomedeQuadStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DiomedeTests",
      "module_type" : "SwiftTarget",
      "name" : "DiomedeTests",
      "path" : "Tests/DiomedeTests",
      "sources" : [
        "DiomedeCharacteristicSetTests.swift",
        "DiomedeQuadStorePerformance.swift",
        "DiomedeTests.swift",
        "DiomedeTypeSetTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Diomede",
        "DiomedeQuadStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiomedeQuadStore",
      "module_type" : "SwiftTarget",
      "name" : "DiomedeQuadStore",
      "path" : "Sources/DiomedeQuadStore",
      "product_dependencies" : [
        "CryptoSwift",
        "SPARQLSyntax"
      ],
      "product_memberships" : [
        "DiomedeQuadStore",
        "diomede-cli"
      ],
      "sources" : [
        "CharacteristicSets.swift",
        "QuadStore.swift",
        "RDFExtensions.swift",
        "TypeSets.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "Diomede"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Diomede",
      "module_type" : "SwiftTarget",
      "name" : "Diomede",
      "path" : "Sources/Diomede",
      "product_dependencies" : [
        "LMDB",
        "SPARQLSyntax"
      ],
      "product_memberships" : [
        "Diomede",
        "DiomedeQuadStore",
        "diomede-db-util",
        "diomede-cli"
      ],
      "sources" : [
        "DataEncoding.swift",
        "Diomede.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/agisboye/CLMDB.git
Fetching https://github.com/kasei/swift-sparql-syntax.git
[1/2483] Fetching swift-sparql-syntax
[77/2528] Fetching swift-sparql-syntax, clmdb
[50/2483] Fetching swift-sparql-syntax
[86/2528] Fetching swift-sparql-syntax, clmdb
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/agisboye/CLMDB.git from cache (0.61s)
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (0.61s)
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.90s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (3.26s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.77s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.11 (0.75s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.24s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.91s)
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/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/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.2.11
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Building for debugging...
[0/27] Write sources
[3/27] Compiling serd string.c
[4/27] Compiling serd node.c
[5/27] Compiling serd writer.c
[6/27] Compiling serd uri.c
[7/27] Write sources
[10/27] Compiling serd reader.c
[11/27] Compiling serd byte_source.c
[12/27] Compiling serd env.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.
[13/27] Compiling LMDB mdb.c
[13/27] Compiling serd n3.c
[13/27] Compiling LMDB midl.c
[13/27] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/14] Compiling LMDB midl.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.
[1/14] Compiling LMDB mdb.c
[1/14] Compiling serd n3.c
[1/14] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android