The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AndroidLooper, reference main (8bdc6b), with Swift 6.1 for Linux on 1 Apr 2026 19:16:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/AndroidLooper.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/PADL/AndroidLooper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bdc6b7 implement checkIsolated()
Cloned https://github.com/PADL/AndroidLooper.git
Revision (git rev-parse @):
8bdc6b7365e4ff5148ca822e2dffe35d6a7f6aa9
SUCCESS checkout https://github.com/PADL/AndroidLooper.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PADL/AndroidLooper.git
https://github.com/PADL/AndroidLooper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "AndroidLooper",
  "name" : "AndroidLooper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AndroidLooper",
      "targets" : [
        "AndroidLooper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CAndroidLooper",
      "module_type" : "ClangTarget",
      "name" : "CAndroidLooper",
      "path" : "Sources/CAndroidLooper",
      "product_memberships" : [
        "AndroidLooper"
      ],
      "sources" : [
        "CAndroidLooper.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidLooper",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLooper",
      "path" : "Sources/AndroidLooper",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "AndroidLooper"
      ],
      "sources" : [
        "AExecutor.swift",
        "ALooper.swift",
        "LockedState.swift",
        "UIThread.swift"
      ],
      "target_dependencies" : [
        "CAndroidLooper"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.50s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.21s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Building for debugging...
[0/5] Write sources
In file included from /host/spi-builder-workspace/Sources/CAndroidLooper/CAndroidLooper.cpp:17:
/host/spi-builder-workspace/Sources/CAndroidLooper/include/CAndroidLooper.h:19:10: fatal error: 'android/looper.h' file not found
   19 | #include <android/looper.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.
[2/5] Compiling CAndroidLooper CAndroidLooper.cpp
[2/5] Compiling CSystem shims.c
[2/5] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CAndroidLooper/CAndroidLooper.cpp:17:
/host/spi-builder-workspace/Sources/CAndroidLooper/include/CAndroidLooper.h:19:10: fatal error: 'android/looper.h' file not found
   19 | #include <android/looper.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling CAndroidLooper CAndroidLooper.cpp
[0/3] Compiling CSystem shims.c
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux