The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AndroidLogging, reference 0.0.2 (269732), with Swift 6.1 for Linux on 13 Mar 2026 04:33:46 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/AndroidLogging.git
Reference: 0.0.2
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/AndroidLogging
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 2697320 Merge pull request #1 from madsodgaard/patch-1
Cloned https://github.com/PADL/AndroidLogging.git
Revision (git rev-parse @):
2697320a7b3f1c0b712a54a7ce764d9c680784ba
SUCCESS checkout https://github.com/PADL/AndroidLogging.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PADL/AndroidLogging.git
https://github.com/PADL/AndroidLogging.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "AndroidLogging",
  "name" : "AndroidLogging",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AndroidLogging",
      "targets" : [
        "AndroidLogging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CAndroidLogging",
      "module_type" : "ClangTarget",
      "name" : "CAndroidLogging",
      "path" : "Sources/CAndroidLogging",
      "product_memberships" : [
        "AndroidLogging"
      ],
      "sources" : [
        "CAndroidLogging.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidLogging",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLogging",
      "path" : "Sources/AndroidLogging",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "AndroidLogging"
      ],
      "sources" : [
        "AndroidLogging.swift"
      ],
      "target_dependencies" : [
        "CAndroidLogging"
      ],
      "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: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 finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log
[1/6191] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.50s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (1.48s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Building for debugging...
[0/4] Write sources
In file included from /host/spi-builder-workspace/Sources/CAndroidLogging/CAndroidLogging.cpp:1:
/host/spi-builder-workspace/Sources/CAndroidLogging/include/CAndroidLogging.h:17:10: fatal error: 'android/log.h' file not found
   17 | #include <android/log.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling CAndroidLogging CAndroidLogging.cpp
[2/4] Write swift-version-24593BA9C3E375BF.txt
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CAndroidLogging/CAndroidLogging.cpp:1:
/host/spi-builder-workspace/Sources/CAndroidLogging/include/CAndroidLogging.h:17:10: fatal error: 'android/log.h' file not found
   17 | #include <android/log.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling CAndroidLogging CAndroidLogging.cpp
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux