The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLazy, reference v1.7.0 (ed594b), with Swift 6.1 for Android on 27 Feb 2026 22:36:32 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivlevAstef/SwiftLazy.git
Reference: v1.7.0
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/ivlevAstef/SwiftLazy
 * tag               v1.7.0     -> FETCH_HEAD
HEAD is now at ed594b3 Merge pull request #9 from patskovn/linux-support
Cloned https://github.com/ivlevAstef/SwiftLazy.git
Revision (git rev-parse @):
ed594b3be371defd7a44ae1c078e91b39d78a523
SUCCESS checkout https://github.com/ivlevAstef/SwiftLazy.git at v1.7.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ivlevAstef/SwiftLazy.git
https://github.com/ivlevAstef/SwiftLazy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftLazy",
  "name" : "SwiftLazy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftLazy",
      "targets" : [
        "SwiftLazy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLazy",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLazy",
      "path" : "Sources/SwiftLazy",
      "product_memberships" : [
        "SwiftLazy"
      ],
      "sources" : [
        "BaseLazy.swift",
        "BaseProvider.swift",
        "Lazy.swift",
        "PrefixOperator.swift",
        "Provider.swift",
        "ProviderArgs.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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: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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling SwiftLazy ProviderArgs.swift
[4/9] Compiling SwiftLazy Provider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Compiling SwiftLazy Lazy.swift
[6/9] Compiling SwiftLazy BaseProvider.swift
[7/9] Emitting module SwiftLazy
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:78:22: error: cannot find 'pthread_rwlock_t' in scope
 76 |
 77 | private final class RWLock {
 78 |   private var lock = pthread_rwlock_t()
    |                      `- error: cannot find 'pthread_rwlock_t' in scope
 79 |
 80 |   init() {
[8/9] Compiling SwiftLazy PrefixOperator.swift
[9/9] Compiling SwiftLazy BaseLazy.swift
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:78:22: error: cannot find 'pthread_rwlock_t' in scope
 76 |
 77 | private final class RWLock {
 78 |   private var lock = pthread_rwlock_t()
    |                      `- error: cannot find 'pthread_rwlock_t' in scope
 79 |
 80 |   init() {
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:81:5: error: cannot find 'pthread_rwlock_init' in scope
 79 |
 80 |   init() {
 81 |     pthread_rwlock_init(&lock, nil)
    |     `- error: cannot find 'pthread_rwlock_init' in scope
 82 |   }
 83 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:81:32: error: 'nil' requires a contextual type
 79 |
 80 |   init() {
 81 |     pthread_rwlock_init(&lock, nil)
    |                                `- error: 'nil' requires a contextual type
 82 |   }
 83 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:85:5: error: cannot find 'pthread_rwlock_destroy' in scope
 83 |
 84 |   deinit {
 85 |     pthread_rwlock_destroy(&lock)
    |     `- error: cannot find 'pthread_rwlock_destroy' in scope
 86 |   }
 87 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:89:5: error: cannot find 'pthread_rwlock_wrlock' in scope
 87 |
 88 |   func writeLock() {
 89 |     pthread_rwlock_wrlock(&lock)
    |     `- error: cannot find 'pthread_rwlock_wrlock' in scope
 90 |   }
 91 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:93:5: error: cannot find 'pthread_rwlock_rdlock' in scope
 91 |
 92 |   func readLock() {
 93 |     pthread_rwlock_rdlock(&lock)
    |     `- error: cannot find 'pthread_rwlock_rdlock' in scope
 94 |   }
 95 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:97:5: error: cannot find 'pthread_rwlock_unlock' in scope
 95 |
 96 |   func unlock() {
 97 |     pthread_rwlock_unlock(&lock)
    |     `- error: cannot find 'pthread_rwlock_unlock' in scope
 98 |   }
 99 | }
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: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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling SwiftLazy ProviderArgs.swift
[3/8] Compiling SwiftLazy Provider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling SwiftLazy BaseProvider.swift
[5/8] Compiling SwiftLazy PrefixOperator.swift
[6/8] Compiling SwiftLazy Lazy.swift
[7/8] Emitting module SwiftLazy
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:78:22: error: cannot find 'pthread_rwlock_t' in scope
 76 |
 77 | private final class RWLock {
 78 |   private var lock = pthread_rwlock_t()
    |                      `- error: cannot find 'pthread_rwlock_t' in scope
 79 |
 80 |   init() {
[8/8] Compiling SwiftLazy BaseLazy.swift
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:78:22: error: cannot find 'pthread_rwlock_t' in scope
 76 |
 77 | private final class RWLock {
 78 |   private var lock = pthread_rwlock_t()
    |                      `- error: cannot find 'pthread_rwlock_t' in scope
 79 |
 80 |   init() {
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:81:5: error: cannot find 'pthread_rwlock_init' in scope
 79 |
 80 |   init() {
 81 |     pthread_rwlock_init(&lock, nil)
    |     `- error: cannot find 'pthread_rwlock_init' in scope
 82 |   }
 83 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:81:32: error: 'nil' requires a contextual type
 79 |
 80 |   init() {
 81 |     pthread_rwlock_init(&lock, nil)
    |                                `- error: 'nil' requires a contextual type
 82 |   }
 83 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:85:5: error: cannot find 'pthread_rwlock_destroy' in scope
 83 |
 84 |   deinit {
 85 |     pthread_rwlock_destroy(&lock)
    |     `- error: cannot find 'pthread_rwlock_destroy' in scope
 86 |   }
 87 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:89:5: error: cannot find 'pthread_rwlock_wrlock' in scope
 87 |
 88 |   func writeLock() {
 89 |     pthread_rwlock_wrlock(&lock)
    |     `- error: cannot find 'pthread_rwlock_wrlock' in scope
 90 |   }
 91 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:93:5: error: cannot find 'pthread_rwlock_rdlock' in scope
 91 |
 92 |   func readLock() {
 93 |     pthread_rwlock_rdlock(&lock)
    |     `- error: cannot find 'pthread_rwlock_rdlock' in scope
 94 |   }
 95 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:97:5: error: cannot find 'pthread_rwlock_unlock' in scope
 95 |
 96 |   func unlock() {
 97 |     pthread_rwlock_unlock(&lock)
    |     `- error: cannot find 'pthread_rwlock_unlock' in scope
 98 |   }
 99 | }
BUILD FAILURE 6.1 android