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 Logger, reference v1.8.2 (c6d619), with Swift 6.2 (beta) for Android on 22 Jun 2025 11:06:49 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.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/elegantchaos/Logger.git
Reference: v1.8.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/elegantchaos/Logger
 * tag               v1.8.2     -> FETCH_HEAD
HEAD is now at c6d6198 bumped minimum iOS to 13
Cloned https://github.com/elegantchaos/Logger.git
Revision (git rev-parse @):
c6d619809e9a658331a70514340f4246f5f05134
SUCCESS checkout https://github.com/elegantchaos/Logger.git at v1.8.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/elegantchaos/Logger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[6/14] Compiling Logger OSLogHandler.swift
[7/15] Compiling Logger PrintHandler.swift
[8/15] Compiling Logger Channel.swift
[9/15] Compiling Logger Context.swift
[10/15] Emitting module Logger
[11/15] Compiling Logger Handler.swift
[12/15] Compiling Logger Manager.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:66:38: error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
 64 |         /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
 65 |         /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
 66 |         if let manager = Thread.main.threadDictionary["Logger.Manager"] {
    |                                      `- error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
 67 |             return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
 68 |         }
/host/spi-builder-workspace/Sources/Logger/Manager.swift:74:25: error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |                         `- error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
 75 |         #endif
 76 |
[13/15] Compiling Logger NSLogHandler.swift
[14/15] Compiling Logger ManagerSettings.swift
[15/15] Compiling Logger UserDefaultsManagerSettings.swift
BUILD FAILURE 6.2 android