The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Grayskull, reference main (253e2c), with Swift 6.2 for Android on 26 Dec 2025 22:34:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/grayskull-swift.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/wendylabsinc/grayskull-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 253e2ca Pass -fno-modules to Swift on Windows
Submodule path 'grayskull': checked out 'ce269b26e3d507ffbf5781f0521e44d07832d98c'
Submodule 'grayskull' (https://github.com/zserge/grayskull) registered for path 'grayskull'
Cloning into '/host/spi-builder-workspace/grayskull'...
Cloned https://github.com/wendylabsinc/grayskull-swift.git
Revision (git rev-parse @):
253e2ca90bbfc5733a1460ed3758fd332218e124
SUCCESS checkout https://github.com/wendylabsinc/grayskull-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wendylabsinc/grayskull-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2B04F66FBCF4E350.txt
[3/19] Emitting module Grayskull
[4/21] Compiling Grayskull Contour.swift
[5/21] Compiling Grayskull Keypoint.swift
[6/21] Compiling Grayskull LBPCascade.swift
[7/21] Compiling Grayskull Match.swift
[8/21] Compiling Grayskull GrayskullImage+Contours.swift
[9/21] Compiling Grayskull GrayskullImage+Features.swift
[10/21] Compiling Grayskull GrayskullImage+IntegralImage.swift
[11/21] Compiling Grayskull GrayskullImage+Kernels.swift
[12/21] Compiling Grayskull GrayskullImage+Processing.swift
[13/21] Compiling Grayskull PlatformExtensions.swift
[14/21] Compiling Grayskull ImageStorage.swift
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:61:9: error: cannot find 'pthread_mutex_init' in scope
 59 |
 60 |     init() {
 61 |         pthread_mutex_init(&mutex, nil)
    |         `- error: cannot find 'pthread_mutex_init' in scope
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:61:36: error: 'nil' requires a contextual type
 59 |
 60 |     init() {
 61 |         pthread_mutex_init(&mutex, nil)
    |                                    `- error: 'nil' requires a contextual type
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:65:9: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |     deinit {
 65 |         pthread_mutex_destroy(&mutex)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     }
 67 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:69:9: error: cannot find 'pthread_mutex_lock' in scope
 67 |
 68 |     func lock() {
 69 |         pthread_mutex_lock(&mutex)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
 70 |     }
 71 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:73:9: error: cannot find 'pthread_mutex_unlock' in scope
 71 |
 72 |     func unlock() {
 73 |         pthread_mutex_unlock(&mutex)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
 74 |     }
 75 |     #endif
[15/21] Compiling Grayskull Blob.swift
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:61:9: error: cannot find 'pthread_mutex_init' in scope
 59 |
 60 |     init() {
 61 |         pthread_mutex_init(&mutex, nil)
    |         `- error: cannot find 'pthread_mutex_init' in scope
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:61:36: error: 'nil' requires a contextual type
 59 |
 60 |     init() {
 61 |         pthread_mutex_init(&mutex, nil)
    |                                    `- error: 'nil' requires a contextual type
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:65:9: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |     deinit {
 65 |         pthread_mutex_destroy(&mutex)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     }
 67 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:69:9: error: cannot find 'pthread_mutex_lock' in scope
 67 |
 68 |     func lock() {
 69 |         pthread_mutex_lock(&mutex)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
 70 |     }
 71 |
/host/spi-builder-workspace/Sources/Grayskull/Support/ImageStorage.swift:73:9: error: cannot find 'pthread_mutex_unlock' in scope
 71 |
 72 |     func unlock() {
 73 |         pthread_mutex_unlock(&mutex)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
 74 |     }
 75 |     #endif
[16/21] Compiling Grayskull GrayskullError.swift
[17/21] Compiling Grayskull GrayskullImage.swift
[18/21] Compiling Grayskull Point.swift
[19/21] Compiling Grayskull Rectangle.swift
[20/21] Compiling Grayskull Grayskull.swift
[21/21] Compiling Grayskull GrayskullImage+ConnectedComponents.swift
BUILD FAILURE 6.2 android