Build Information
Failed to build swift-log-SwiftyBeaver, reference v0.2.0 (675c2d
), with Swift 6.2 (beta) for Android on 22 Jun 2025 04:06:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/ShivaHuang/swift-log-SwiftyBeaver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/3836] Fetching swift-log
[232/7893] Fetching swift-log, swiftybeaver
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.14s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 2.1.1 (0.50s)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 2.1.1
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-8C5A4AE7A8CE2BA.txt
[5/18] Compiling Logging MetadataProvider.swift
[6/18] Compiling SwiftyBeaver Extensions.swift
[7/18] Compiling SwiftyBeaver ConsoleDestination.swift
[8/18] Compiling Logging LogHandler.swift
[9/18] Compiling Logging Locks.swift
[10/18] Emitting module Logging
[11/18] Compiling Logging Logging.swift
[13/20] Compiling SwiftyBeaver Base64.swift
[14/20] Compiling SwiftyBeaver BaseDestination.swift
[15/20] Emitting module SwiftyBeaver
[16/20] Compiling SwiftyBeaver GoogleCloudDestination.swift
[17/20] Compiling SwiftyBeaver FilterValidator.swift
[18/20] Compiling SwiftyBeaver Filter.swift
[19/20] 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
[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 | }
BUILD FAILURE 6.2 android