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 ActionsKit, reference v1.1.0 (3a1a4c), with Swift 6.1 for Android on 27 May 2025 07:18:42 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/elegantchaos/ActionsKit.git
Reference: v1.1.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/elegantchaos/ActionsKit
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 3a1a4c9 Need Swift 5.1 in order to check for Catalyst.
Cloned https://github.com/elegantchaos/ActionsKit.git
Revision (git rev-parse @):
3a1a4c924964404ead8fe6b75b9e00ab30550095
SUCCESS checkout https://github.com/elegantchaos/ActionsKit.git at v1.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/ActionsKit.git
https://github.com/elegantchaos/ActionsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "actions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Actions"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger"
    },
    {
      "identity" : "localization",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Localization"
    }
  ],
  "manifest_display_name" : "ActionsKit",
  "name" : "ActionsKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ActionsKit",
      "targets" : [
        "ActionsKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ActionsKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ActionsKitTests",
      "path" : "Tests/ActionsKitTests",
      "sources" : [
        "ActionsKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ActionsKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ActionsKit",
      "module_type" : "SwiftTarget",
      "name" : "ActionsKit",
      "path" : "Sources/ActionsKit",
      "product_dependencies" : [
        "Actions",
        "Localization",
        "Logger",
        "LoggerKit"
      ],
      "product_memberships" : [
        "ActionsKit"
      ],
      "sources" : [
        "ActionManagerMac.swift",
        "ActionManagerMobile.swift",
        "UICommand+Actions.swift",
        "UIMenu+Actions.swift",
        "UINavigationController+Actions.swift",
        "UIResponder+Actions.swift",
        "UIView+Actions.swift",
        "UIViewController+Actions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/elegantchaos/Logger
Fetching https://github.com/elegantchaos/Localization
Fetching https://github.com/elegantchaos/Actions
[1/110] Fetching localization
[111/1071] Fetching localization, actions
[217/3122] Fetching localization, actions, logger
Fetched https://github.com/elegantchaos/Localization from cache (0.30s)
Fetched https://github.com/elegantchaos/Actions from cache (0.33s)
Fetched https://github.com/elegantchaos/Logger from cache (0.33s)
Computing version for https://github.com/elegantchaos/Actions
Computed https://github.com/elegantchaos/Actions at 1.5.1 (0.98s)
Computing version for https://github.com/elegantchaos/Localization
Computed https://github.com/elegantchaos/Localization at 1.0.5 (0.57s)
Computing version for https://github.com/elegantchaos/Logger
Computed https://github.com/elegantchaos/Logger at 1.8.2 (0.62s)
Creating working copy for https://github.com/elegantchaos/Actions
Working copy of https://github.com/elegantchaos/Actions resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Logger
Working copy of https://github.com/elegantchaos/Logger resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/Localization
Working copy of https://github.com/elegantchaos/Localization resolved at 1.0.5
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-24593BA9C3E375BF.txt
[7/21] Compiling Logger PrintHandler.swift
[8/22] Compiling Logger OSLogHandler.swift
[9/22] Compiling Logger NSLogHandler.swift
[10/22] Compiling Logger UserDefaultsManagerSettings.swift
[11/22] Compiling Localization String+Localization.swift
[12/22] Emitting module Localization
[13/22] Compiling Localization Localization.swift
[14/23] Emitting module Logger
[15/23] Compiling Logger Channel.swift
[16/23] Compiling Logger Context.swift
[17/23] Compiling Logger ManagerSettings.swift
[18/23] Compiling Logger Handler.swift
[19/23] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:66:38: error: value of type '@Sendable (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 '@Sendable (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/.build/checkouts/Logger/Sources/Logger/Manager.swift:74:25: error: value of type '@Sendable (Thread) -> () -> ()' has no member 'threadDictionary'
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |                         `- error: value of type '@Sendable (Thread) -> () -> ()' has no member 'threadDictionary'
 75 |         #endif
 76 |
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/4] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Localization String+Localization.swift
[3/16] Compiling Localization Localization.swift
[4/16] Emitting module Localization
[5/17] Compiling Logger NSLogHandler.swift
[6/17] Compiling Logger OSLogHandler.swift
[7/17] Compiling Logger PrintHandler.swift
[8/18] Compiling Logger Handler.swift
[10/18] Compiling Logger ManagerSettings.swift
[11/18] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/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/.build/checkouts/Logger/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 |
[12/18] Emitting module Logger
[13/18] Compiling Logger Channel.swift
[14/18] Compiling Logger Context.swift
[14/18] Wrapping AST for Localization for debugging
[15/18] Write Objects.LinkFileList
[16/18] Archiving libLocalization.a
[18/18] Compiling Logger UserDefaultsManagerSettings.swift
BUILD FAILURE 6.1 android