The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCGLogger, reference 7.1.5 (4def3c), with Swift 6.1 for Android on 29 May 2025 08:57:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DaveWoodCom/XCGLogger.git
Reference: 7.1.5
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/DaveWoodCom/XCGLogger
 * tag               7.1.5      -> FETCH_HEAD
HEAD is now at 4def3c1 chore: version bump 7.1.5
Cloned https://github.com/DaveWoodCom/XCGLogger.git
Revision (git rev-parse @):
4def3c1c772ca90ad5e7bfc8ac437c3b0b4276cf
SUCCESS checkout https://github.com/DaveWoodCom/XCGLogger.git at 7.1.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DaveWoodCom/XCGLogger.git
https://github.com/DaveWoodCom/XCGLogger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCGLogger",
  "name" : "XCGLogger",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCGLogger",
      "targets" : [
        "XCGLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ObjcExceptionBridging",
      "targets" : [
        "ObjcExceptionBridging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCGLoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "XCGLoggerTests",
      "path" : "Tests/XCGLoggerTests",
      "sources" : [
        "XCGLoggerTests.swift"
      ],
      "target_dependencies" : [
        "XCGLogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCGLogger",
      "module_type" : "SwiftTarget",
      "name" : "XCGLogger",
      "path" : "Sources/XCGLogger",
      "product_memberships" : [
        "XCGLogger"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/XCGLogger/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Destinations/AppleSystemLogDestination.swift",
        "Destinations/AutoRotatingFileDestination.swift",
        "Destinations/BaseDestination.swift",
        "Destinations/BaseQueuedDestination.swift",
        "Destinations/ConsoleDestination.swift",
        "Destinations/DestinationProtocol.swift",
        "Destinations/FileDestination.swift",
        "Destinations/TestDestination.swift",
        "Extensions/DispatchQueue+XCGAdditions.swift",
        "Extensions/URL+XCGAdditions.swift",
        "Filters/DevFilter.swift",
        "Filters/FileNameFilter.swift",
        "Filters/FilterProtocol.swift",
        "Filters/TagFilter.swift",
        "Filters/UserInfoFilter.swift",
        "LogFormatters/ANSIColorLogFormatter.swift",
        "LogFormatters/Base64LogFormatter.swift",
        "LogFormatters/LogFormatterProtocol.swift",
        "LogFormatters/PrePostFixLogFormatter.swift",
        "LogFormatters/XcodeColorsLogFormatter.swift",
        "Misc/HelperFunctions.swift",
        "Misc/LogDetails.swift",
        "Misc/Optional/UserInfoHelpers.swift",
        "XCGLogger.swift"
      ],
      "target_dependencies" : [
        "ObjcExceptionBridging"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjcExceptionBridging",
      "module_type" : "ClangTarget",
      "name" : "ObjcExceptionBridging",
      "path" : "Sources/ObjcExceptionBridging",
      "product_memberships" : [
        "XCGLogger",
        "ObjcExceptionBridging"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ObjcExceptionBridging/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ObjectiveCMarker.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/XCGLogger/LogFormatters/Optional/gitkeeper.txt
    /host/spi-builder-workspace/Sources/XCGLogger/ObjectiveC/gitkeeper.txt
    /host/spi-builder-workspace/Sources/XCGLogger/iOS/Info-iOS.plist
    /host/spi-builder-workspace/Sources/XCGLogger/macOS/Info-macOS.plist
    /host/spi-builder-workspace/Sources/XCGLogger/tvOS/Info-tvOS.plist
Building for debugging...
[0/6] Write sources
[0/6] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/ObjcExceptionBridging.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/6] Compiling ObjcExceptionBridging ObjectiveCMarker.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/ObjcExceptionBridging.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/6] Compiling ObjcExceptionBridging resource_bundle_accessor.m
[3/6] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/XCGLoggerTests/Info.plist
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/XCGLogger/macOS/Info-macOS.plist
    /host/spi-builder-workspace/Sources/XCGLogger/iOS/Info-iOS.plist
    /host/spi-builder-workspace/Sources/XCGLogger/tvOS/Info-tvOS.plist
    /host/spi-builder-workspace/Sources/XCGLogger/ObjectiveC/gitkeeper.txt
    /host/spi-builder-workspace/Sources/XCGLogger/LogFormatters/Optional/gitkeeper.txt
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/ObjcExceptionBridging.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling ObjcExceptionBridging resource_bundle_accessor.m
[0/3] Compiling ObjcExceptionBridging ObjectiveCMarker.m
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android