The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyBeaver, reference main (907cb1), with Swift 6.1 for Android on 31 May 2025 01:10:30 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/MFB-Technologies-Inc/SwiftyBeaver.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/MFB-Technologies-Inc/SwiftyBeaver
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 907cb18 Merge pull request #10 from MFB-Technologies-Inc/feature/persistent-file-handle
Cloned https://github.com/MFB-Technologies-Inc/SwiftyBeaver.git
Revision (git rev-parse @):
907cb189968691343b80357f7d4e059ef48d4c1e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/MFB-Technologies-Inc/SwiftyBeaver.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MFB-Technologies-Inc/SwiftyBeaver.git
https://github.com/MFB-Technologies-Inc/SwiftyBeaver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "SwiftyBeaver",
  "name" : "SwiftyBeaver",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyBeaver",
      "targets" : [
        "SwiftyBeaver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftyBeaverSwiftLog",
      "targets" : [
        "SwiftyBeaverSwiftLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyBeaverTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyBeaverTests",
      "path" : "Tests/SwiftyBeaverTests",
      "sources" : [
        "BaseDestinationTests.swift",
        "ConsoleDestinationTests.swift",
        "DestinationSetTests.swift",
        "FileDestinationTests.swift",
        "FilterTests.swift",
        "GoogleCloudDestinationTests.swift",
        "SwiftyBeaverTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyBeaver"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyBeaverSwiftLogTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyBeaverSwiftLogTests",
      "path" : "Tests/SwiftyBeaverSwiftLogTests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "LevelConversionTests.swift",
        "SwiftyBeaverLogHandlerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyBeaver",
        "SwiftyBeaverSwiftLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyBeaverSwiftLog",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyBeaverSwiftLog",
      "path" : "Sources/SwiftyBeaverSwiftLog",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SwiftyBeaverSwiftLog"
      ],
      "sources" : [
        "Logger_Level+SwiftyBeaver_Level.swift",
        "SwiftyBeaverLogHandler.swift",
        "SwiftyBeaver_Level+Logger_Level.swift"
      ],
      "target_dependencies" : [
        "SwiftyBeaver"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftyBeaver",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyBeaver",
      "path" : "Sources/SwiftyBeaver",
      "product_memberships" : [
        "SwiftyBeaver",
        "SwiftyBeaverSwiftLog"
      ],
      "sources" : [
        "BaseDestination.swift",
        "ConsoleDestination.swift",
        "FileDestination.swift",
        "Filter.swift",
        "FilterValidator.swift",
        "GoogleCloudDestination.swift",
        "Internal/UncheckedSendable.swift",
        "SwiftyBeaver+Destinations.swift",
        "SwiftyBeaver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 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
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.41s)
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/18] Compiling SwiftyBeaver UncheckedSendable.swift
[6/19] Compiling Logging MetadataProvider.swift
[7/19] Emitting module Logging
[8/19] Compiling Logging LogHandler.swift
[9/19] Compiling Logging Locks.swift
[10/19] Compiling Logging Logging.swift
[12/20] Compiling SwiftyBeaver Filter.swift
[13/20] Compiling SwiftyBeaver SwiftyBeaver.swift
[14/20] Compiling SwiftyBeaver FilterValidator.swift
[15/20] Compiling SwiftyBeaver GoogleCloudDestination.swift
[16/20] Compiling SwiftyBeaver SwiftyBeaver+Destinations.swift
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:96:36: warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 94 |
 95 |                     if dest.asynchronously {
 96 |                         let dest = UncheckedSendable(wrapped: dest)
    |                                    `- warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 97 |                         let context = UncheckedSendable(wrapped: context)
 98 |                         queue.async {
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:97:39: warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 95 |                     if dest.asynchronously {
 96 |                         let dest = UncheckedSendable(wrapped: dest)
 97 |                         let context = UncheckedSendable(wrapped: context)
    |                                       `- warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 98 |                         queue.async {
 99 |                             _ = dest.wrapped.send(
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:266:33: warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
264 |                 grp.enter()
265 |                 if dest.asynchronously {
266 |                     let _dest = UncheckedSendable(wrapped: dest)
    |                                 `- warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
267 |                     queue.async {
268 |                         _dest.wrapped.flush()
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:296:32: error: cannot find '__dispatch_queue_get_label' in scope
294 |                     return ""
295 |                 } else {
296 |                     let name = __dispatch_queue_get_label(nil)
    |                                `- error: cannot find '__dispatch_queue_get_label' in scope
297 |                     return String(cString: name, encoding: .utf8) ?? Thread.current.description
298 |                 }
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:296:59: error: 'nil' requires a contextual type
294 |                     return ""
295 |                 } else {
296 |                     let name = __dispatch_queue_get_label(nil)
    |                                                           `- error: 'nil' requires a contextual type
297 |                     return String(cString: name, encoding: .utf8) ?? Thread.current.description
298 |                 }
[17/20] Compiling SwiftyBeaver BaseDestination.swift
[18/20] Compiling SwiftyBeaver ConsoleDestination.swift
[19/20] Emitting module SwiftyBeaver
[20/20] Compiling SwiftyBeaver FileDestination.swift
/host/spi-builder-workspace/Sources/SwiftyBeaver/FileDestination.swift:242:31: error: cannot find 'NSFileCoordinator' in scope
240 |         private func write(data: Data, to url: URL) -> Bool {
241 |             var success = false
242 |             let coordinator = NSFileCoordinator(filePresenter: nil)
    |                               `- error: cannot find 'NSFileCoordinator' in scope
243 |             var error: NSError?
244 |             coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/Sources/SwiftyBeaver/FileDestination.swift:242:64: error: 'nil' requires a contextual type
240 |         private func write(data: Data, to url: URL) -> Bool {
241 |             var success = false
242 |             let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                                `- error: 'nil' requires a contextual type
243 |             var error: NSError?
244 |             coordinator.coordinate(writingItemAt: url, error: &error) { url in
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Logging MetadataProvider.swift
[3/15] Compiling SwiftyBeaver UncheckedSendable.swift
[4/15] Compiling SwiftyBeaver SwiftyBeaver+Destinations.swift
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:96:36: warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 94 |
 95 |                     if dest.asynchronously {
 96 |                         let dest = UncheckedSendable(wrapped: dest)
    |                                    `- warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 97 |                         let context = UncheckedSendable(wrapped: context)
 98 |                         queue.async {
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:97:39: warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 95 |                     if dest.asynchronously {
 96 |                         let dest = UncheckedSendable(wrapped: dest)
 97 |                         let context = UncheckedSendable(wrapped: context)
    |                                       `- warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
 98 |                         queue.async {
 99 |                             _ = dest.wrapped.send(
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:266:33: warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
264 |                 grp.enter()
265 |                 if dest.asynchronously {
266 |                     let _dest = UncheckedSendable(wrapped: dest)
    |                                 `- warning: 'UncheckedSendable' is deprecated: All silenced errors in 6.0 are warnings in 6.1.
267 |                     queue.async {
268 |                         _dest.wrapped.flush()
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:296:32: error: cannot find '__dispatch_queue_get_label' in scope
294 |                     return ""
295 |                 } else {
296 |                     let name = __dispatch_queue_get_label(nil)
    |                                `- error: cannot find '__dispatch_queue_get_label' in scope
297 |                     return String(cString: name, encoding: .utf8) ?? Thread.current.description
298 |                 }
/host/spi-builder-workspace/Sources/SwiftyBeaver/SwiftyBeaver+Destinations.swift:296:59: error: 'nil' requires a contextual type
294 |                     return ""
295 |                 } else {
296 |                     let name = __dispatch_queue_get_label(nil)
    |                                                           `- error: 'nil' requires a contextual type
297 |                     return String(cString: name, encoding: .utf8) ?? Thread.current.description
298 |                 }
[5/16] Emitting module Logging
[6/16] Compiling Logging Locks.swift
[7/16] Compiling SwiftyBeaver FilterValidator.swift
[8/16] Compiling SwiftyBeaver GoogleCloudDestination.swift
[9/16] Compiling SwiftyBeaver FileDestination.swift
/host/spi-builder-workspace/Sources/SwiftyBeaver/FileDestination.swift:242:31: error: cannot find 'NSFileCoordinator' in scope
240 |         private func write(data: Data, to url: URL) -> Bool {
241 |             var success = false
242 |             let coordinator = NSFileCoordinator(filePresenter: nil)
    |                               `- error: cannot find 'NSFileCoordinator' in scope
243 |             var error: NSError?
244 |             coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/Sources/SwiftyBeaver/FileDestination.swift:242:64: error: 'nil' requires a contextual type
240 |         private func write(data: Data, to url: URL) -> Bool {
241 |             var success = false
242 |             let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                                `- error: 'nil' requires a contextual type
243 |             var error: NSError?
244 |             coordinator.coordinate(writingItemAt: url, error: &error) { url in
[10/16] Compiling SwiftyBeaver Filter.swift
[11/16] Compiling SwiftyBeaver SwiftyBeaver.swift
[12/16] Emitting module SwiftyBeaver
[13/16] Compiling SwiftyBeaver BaseDestination.swift
[14/16] Compiling SwiftyBeaver ConsoleDestination.swift
[15/16] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android