The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-log-SwiftyBeaver, reference v0.2.0 (675c2d), with Swift 6.1 for Android on 29 May 2025 18:04:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/ShivaHuang/swift-log-SwiftyBeaver.git
Reference: v0.2.0
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/ShivaHuang/swift-log-SwiftyBeaver
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 675c2d4 Misc: Upgrade Dependencies
Cloned https://github.com/ShivaHuang/swift-log-SwiftyBeaver.git
Revision (git rev-parse @):
675c2d46fe0d68771af00d4657bceb83b5727c6a
SUCCESS checkout https://github.com/ShivaHuang/swift-log-SwiftyBeaver.git at v0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShivaHuang/swift-log-SwiftyBeaver.git
https://github.com/ShivaHuang/swift-log-SwiftyBeaver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swiftybeaver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
    }
  ],
  "manifest_display_name" : "swift-log-SwiftyBeaver",
  "name" : "swift-log-SwiftyBeaver",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LoggingSwiftyBeaver",
      "targets" : [
        "LoggingSwiftyBeaver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingSwiftyBeaverTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingSwiftyBeaverTests",
      "path" : "Tests/LoggingSwiftyBeaverTests",
      "sources" : [
        "LoggingSwiftyBeaverTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "LoggingSwiftyBeaver"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingSwiftyBeaver",
      "module_type" : "SwiftTarget",
      "name" : "LoggingSwiftyBeaver",
      "path" : "Sources/LoggingSwiftyBeaver",
      "product_dependencies" : [
        "Logging",
        "SwiftyBeaver"
      ],
      "product_memberships" : [
        "LoggingSwiftyBeaver"
      ],
      "sources" : [
        "LoggingSwiftyBeaver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/4057] Fetching swiftybeaver
[1340/7893] Fetching swiftybeaver, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.28s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 2.1.1 (0.79s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 2.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/18] Compiling Logging MetadataProvider.swift
[6/18] Compiling Logging LogHandler.swift
[7/18] Compiling Logging Locks.swift
[8/18] Emitting module Logging
[9/18] Compiling Logging Logging.swift
[11/19] Compiling SwiftyBeaver Filter.swift
[12/19] Compiling SwiftyBeaver FileDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:178:27: error: cannot find 'NSFileCoordinator' in scope
176 |         #else
177 |         var success = false
178 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
179 |         var error: NSError?
180 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:178:60: error: 'nil' requires a contextual type
176 |         #else
177 |         var success = false
178 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
179 |         var error: NSError?
180 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
[13/19] Compiling SwiftyBeaver FilterValidator.swift
[14/20] Compiling SwiftyBeaver GoogleCloudDestination.swift
[15/20] Compiling SwiftyBeaver ConsoleDestination.swift
[16/20] Compiling SwiftyBeaver Base64.swift
[17/20] Compiling SwiftyBeaver BaseDestination.swift
[18/20] Emitting module SwiftyBeaver
[19/20] Compiling SwiftyBeaver Extensions.swift
[20/20] Compiling SwiftyBeaver SwiftyBeaver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:87:28: error: cannot find '__dispatch_queue_get_label' in scope
 85 |                 return ""
 86 |             } else {
 87 |                 let name = __dispatch_queue_get_label(nil)
    |                            `- error: cannot find '__dispatch_queue_get_label' in scope
 88 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 89 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:87:55: error: 'nil' requires a contextual type
 85 |                 return ""
 86 |             } else {
 87 |                 let name = __dispatch_queue_get_label(nil)
    |                                                       `- error: 'nil' requires a contextual type
 88 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 89 |             }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling SwiftyBeaver GoogleCloudDestination.swift
[3/16] Compiling Logging MetadataProvider.swift
[4/16] Compiling SwiftyBeaver FilterValidator.swift
[5/16] Compiling SwiftyBeaver ConsoleDestination.swift
[6/16] Compiling SwiftyBeaver Extensions.swift
[7/16] Compiling SwiftyBeaver Filter.swift
[8/16] Compiling SwiftyBeaver FileDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:178:27: error: cannot find 'NSFileCoordinator' in scope
176 |         #else
177 |         var success = false
178 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
179 |         var error: NSError?
180 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:178:60: error: 'nil' requires a contextual type
176 |         #else
177 |         var success = false
178 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
179 |         var error: NSError?
180 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
[9/16] Compiling SwiftyBeaver SwiftyBeaver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:87:28: error: cannot find '__dispatch_queue_get_label' in scope
 85 |                 return ""
 86 |             } else {
 87 |                 let name = __dispatch_queue_get_label(nil)
    |                            `- error: cannot find '__dispatch_queue_get_label' in scope
 88 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 89 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:87:55: error: 'nil' requires a contextual type
 85 |                 return ""
 86 |             } else {
 87 |                 let name = __dispatch_queue_get_label(nil)
    |                                                       `- error: 'nil' requires a contextual type
 88 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 89 |             }
[10/16] Emitting module Logging
[11/16] Emitting module SwiftyBeaver
[12/16] Compiling SwiftyBeaver Base64.swift
[13/16] Compiling SwiftyBeaver BaseDestination.swift
[14/16] Compiling Logging LogHandler.swift
[15/16] Compiling Logging Locks.swift
[16/16] Compiling Logging Logging.swift
BUILD FAILURE 6.1 android