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 Images, reference main (507b55), with Swift 6.1 for Android on 28 May 2025 01:38:41 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/Images.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/elegantchaos/Images
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 507b558 newer ActionStatus
Cloned https://github.com/elegantchaos/Images.git
Revision (git rev-parse @):
507b5580d93e76692cd1cc184f4ffea4e620936e
SUCCESS checkout https://github.com/elegantchaos/Images.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Images.git
https://github.com/elegantchaos/Images.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "threadextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/ThreadExtensions.git"
    }
  ],
  "manifest_display_name" : "Images",
  "name" : "Images",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Images",
      "targets" : [
        "Images"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImagesTests",
      "module_type" : "SwiftTarget",
      "name" : "ImagesTests",
      "path" : "Tests/ImagesTests",
      "sources" : [
        "ImagesTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Images"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Images",
      "module_type" : "SwiftTarget",
      "name" : "Images",
      "path" : "Sources/Images",
      "product_dependencies" : [
        "Logger",
        "ThreadExtensions"
      ],
      "product_memberships" : [
        "Images"
      ],
      "sources" : [
        "AsyncImage.swift",
        "Image+AppKit.swift",
        "Image+Extensions.swift",
        "Image+UIKit.swift",
        "ImageCache.swift",
        "ImageFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/elegantchaos/ThreadExtensions.git
Fetching https://github.com/elegantchaos/Logger.git
[1/42] Fetching threadextensions
[43/2093] Fetching threadextensions, logger
Fetched https://github.com/elegantchaos/ThreadExtensions.git from cache (0.27s)
[206/2051] Fetching logger
Fetched https://github.com/elegantchaos/Logger.git from cache (0.33s)
Computing version for https://github.com/elegantchaos/ThreadExtensions.git
Computed https://github.com/elegantchaos/ThreadExtensions.git at 1.0.1 (1.09s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (1.09s)
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/ThreadExtensions.git
Working copy of https://github.com/elegantchaos/ThreadExtensions.git resolved at 1.0.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Logger NSLogHandler.swift
[6/16] Compiling Logger OSLogHandler.swift
[7/16] Compiling Logger PrintHandler.swift
[8/16] Compiling Logger Handler.swift
[9/16] Compiling ThreadExtensions ThreadExtensions.swift
[10/16] Emitting module ThreadExtensions
[11/17] Emitting module Logger
[12/17] Compiling Logger Channel.swift
[13/17] Compiling Logger Context.swift
[14/17] Compiling Logger ManagerSettings.swift
[15/17] 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 |
[17/17] Compiling Logger UserDefaultsManagerSettings.swift
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/12] Compiling Logger ManagerSettings.swift
[3/12] Compiling Logger NSLogHandler.swift
[4/12] Compiling Logger PrintHandler.swift
[5/13] Compiling ThreadExtensions ThreadExtensions.swift
[6/13] Emitting module ThreadExtensions
[7/14] Emitting module Logger
[8/14] Compiling Logger OSLogHandler.swift
[9/14] Compiling Logger Handler.swift
[10/14] Compiling Logger Channel.swift
[11/14] Compiling Logger Context.swift
[12/14] 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 |
[14/14] Compiling Logger UserDefaultsManagerSettings.swift
BUILD FAILURE 6.1 android