The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Grayskull, reference main (253e2c), with Swift 6.1 for Android on 26 Dec 2025 22:35:58 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/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.1
Building package at path:  $PWD
https://github.com/wendylabsinc/grayskull-swift.git
https://github.com/wendylabsinc/grayskull-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c11",
  "dependencies" : [
  ],
  "manifest_display_name" : "Grayskull",
  "name" : "Grayskull",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Grayskull",
      "targets" : [
        "Grayskull"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "GrayskullTests",
      "module_type" : "SwiftTarget",
      "name" : "GrayskullTests",
      "path" : "Tests/GrayskullTests",
      "sources" : [
        "GrayskullTests.swift"
      ],
      "target_dependencies" : [
        "Grayskull"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Grayskull",
      "module_type" : "SwiftTarget",
      "name" : "Grayskull",
      "path" : "Sources/Grayskull",
      "product_memberships" : [
        "Grayskull"
      ],
      "sources" : [
        "Core/GrayskullError.swift",
        "Core/GrayskullImage.swift",
        "Geometry/Point.swift",
        "Geometry/Rectangle.swift",
        "Grayskull.swift",
        "ImageProcessing/GrayskullImage+ConnectedComponents.swift",
        "ImageProcessing/GrayskullImage+Contours.swift",
        "ImageProcessing/GrayskullImage+Features.swift",
        "ImageProcessing/GrayskullImage+IntegralImage.swift",
        "ImageProcessing/GrayskullImage+Kernels.swift",
        "ImageProcessing/GrayskullImage+Processing.swift",
        "PlatformExtensions.swift",
        "Support/ImageStorage.swift",
        "Vision/Blob.swift",
        "Vision/Contour.swift",
        "Vision/Keypoint.swift",
        "Vision/LBPCascade.swift",
        "Vision/Match.swift"
      ],
      "target_dependencies" : [
        "CGrayskull"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGrayskull",
      "module_type" : "ClangTarget",
      "name" : "CGrayskull",
      "path" : "Sources/CGrayskull",
      "product_memberships" : [
        "Grayskull"
      ],
      "sources" : [
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
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/19] Emitting module Grayskull
[4/21] Compiling Grayskull GrayskullImage+IntegralImage.swift
[5/21] Compiling Grayskull GrayskullImage+Kernels.swift
[6/21] Compiling Grayskull GrayskullImage+Contours.swift
[7/21] Compiling Grayskull GrayskullImage+Features.swift
[8/21] Compiling Grayskull Rectangle.swift
[9/21] Compiling Grayskull Grayskull.swift
[10/21] Compiling Grayskull GrayskullImage+ConnectedComponents.swift
[11/21] Compiling Grayskull LBPCascade.swift
[12/21] Compiling Grayskull Match.swift
[13/21] Compiling Grayskull GrayskullImage+Processing.swift
[14/21] Compiling Grayskull PlatformExtensions.swift
[15/21] Compiling Grayskull Contour.swift
[16/21] Compiling Grayskull Keypoint.swift
[17/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
[18/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
[19/21] Compiling Grayskull GrayskullError.swift
[20/21] Compiling Grayskull GrayskullImage.swift
[21/21] Compiling Grayskull Point.swift
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:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
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/18] Emitting module Grayskull
[3/20] Compiling Grayskull GrayskullImage+Processing.swift
[4/20] Compiling Grayskull PlatformExtensions.swift
[5/20] Compiling Grayskull Contour.swift
[6/20] Compiling Grayskull Keypoint.swift
[7/20] Compiling Grayskull Rectangle.swift
[8/20] Compiling Grayskull Grayskull.swift
[9/20] Compiling Grayskull GrayskullImage+ConnectedComponents.swift
[10/20] Compiling Grayskull GrayskullImage+IntegralImage.swift
[11/20] Compiling Grayskull GrayskullImage+Kernels.swift
[12/20] Compiling Grayskull GrayskullImage+Contours.swift
[13/20] Compiling Grayskull GrayskullImage+Features.swift
[14/20] Compiling Grayskull GrayskullError.swift
[15/20] Compiling Grayskull GrayskullImage.swift
[16/20] Compiling Grayskull Point.swift
[17/20] 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
[18/20] 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
[19/20] Compiling Grayskull LBPCascade.swift
[20/20] Compiling Grayskull Match.swift
BUILD FAILURE 6.1 android