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 LoggerKit, reference master (e9870f), with Swift 6.1 for Android on 11 Sep 2025 15:07:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvieito/LoggerKit.git
Reference: master
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/pvieito/LoggerKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e9870ff Updated project [SKIP-CI]
Cloned https://github.com/pvieito/LoggerKit.git
Revision (git rev-parse @):
e9870ffe52ac8d9788f63f7adbb396dc1a37e8a8
SUCCESS checkout https://github.com/pvieito/LoggerKit.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pvieito/LoggerKit.git
https://github.com/pvieito/LoggerKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "LoggerKit",
  "name" : "LoggerKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LoggerKit",
      "targets" : [
        "LoggerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LoggerKitMac",
      "targets" : [
        "LoggerKitMac"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggerKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggerKitTests",
      "path" : "Tests/LoggerKitTests",
      "sources" : [
        "LoggerKitTests.swift"
      ],
      "target_dependencies" : [
        "LoggerKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggerKitMac",
      "module_type" : "SwiftTarget",
      "name" : "LoggerKitMac",
      "path" : "LoggerKitMac",
      "product_memberships" : [
        "LoggerKitMac"
      ],
      "sources" : [
        "Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LoggerKit",
      "module_type" : "SwiftTarget",
      "name" : "LoggerKit",
      "path" : "LoggerKit",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "LoggerKit"
      ],
      "sources" : [
        "Logger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
[1/1335] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.33s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.99s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/21] Compiling Rainbow StringGenerator.swift
[6/21] Compiling Rainbow Style.swift
[7/21] Compiling Rainbow String+ConditionalStyling.swift
[8/21] Compiling Rainbow String+Rainbow.swift
[9/22] Compiling Rainbow StyledStringBuilder.swift
[10/22] Emitting module LoggerKitMac
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:41:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     /// The Logger will only log messages with a level equal or higher than this.
 40 |     #if DEBUG
 41 |     public static var logLevel: LogLevel = .debug
    |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     #else
 43 |     public static var logLevel: LogLevel = .warning
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:46:24: warning: static property '_maxLogLevel' is not concurrency-safe because non-'Sendable' type 'Logger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 |     /// Possible levels of the log.
 20 |     public enum LogLevel: Int, Comparable, CaseIterable {
    |                 `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
 21 |         case silence = 0
 22 |         case error
    :
 44 |     #endif
 45 |
 46 |     private static let _maxLogLevel = LogLevel.allCases.max()!
    |                        |- warning: static property '_maxLogLevel' is not concurrency-safe because non-'Sendable' type 'Logger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property '_maxLogLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private static var _logLevel: LogLevel {
 48 |         if self.isExtendedLogEnabled {
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:69:23: warning: static property 'logMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// The mode of the Logger.
 69 |     public static var logMode: LogMode = .logger
    |                       |- warning: static property 'logMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 | }
 71 |
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:75:24: warning: static property 'isExtendedLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     // MARK: Private Log Functions
 74 |     private static let extendedLogEnvironmentVariableName = "LOGGERKIT_EXTENDED_LOG"
 75 |     private static var isExtendedLogEnabled: Bool = {
    |                        |- warning: static property 'isExtendedLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isExtendedLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isExtendedLogEnabled' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         return ProcessInfo.processInfo.environment[Logger.extendedLogEnvironmentVariableName] != nil
 77 |     }()
[11/22] Compiling LoggerKitMac Logger.swift
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:41:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     /// The Logger will only log messages with a level equal or higher than this.
 40 |     #if DEBUG
 41 |     public static var logLevel: LogLevel = .debug
    |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     #else
 43 |     public static var logLevel: LogLevel = .warning
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:46:24: warning: static property '_maxLogLevel' is not concurrency-safe because non-'Sendable' type 'Logger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 |     /// Possible levels of the log.
 20 |     public enum LogLevel: Int, Comparable, CaseIterable {
    |                 `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
 21 |         case silence = 0
 22 |         case error
    :
 44 |     #endif
 45 |
 46 |     private static let _maxLogLevel = LogLevel.allCases.max()!
    |                        |- warning: static property '_maxLogLevel' is not concurrency-safe because non-'Sendable' type 'Logger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property '_maxLogLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private static var _logLevel: LogLevel {
 48 |         if self.isExtendedLogEnabled {
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:69:23: warning: static property 'logMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// The mode of the Logger.
 69 |     public static var logMode: LogMode = .logger
    |                       |- warning: static property 'logMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 | }
 71 |
/host/spi-builder-workspace/LoggerKitMac/Logger.swift:75:24: warning: static property 'isExtendedLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     // MARK: Private Log Functions
 74 |     private static let extendedLogEnvironmentVariableName = "LOGGERKIT_EXTENDED_LOG"
 75 |     private static var isExtendedLogEnabled: Bool = {
    |                        |- warning: static property 'isExtendedLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isExtendedLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isExtendedLogEnabled' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         return ProcessInfo.processInfo.environment[Logger.extendedLogEnvironmentVariableName] != nil
 77 |     }()
[12/23] Compiling Rainbow Color.swift
[13/23] Compiling Rainbow ColorApproximation.swift
[14/23] Compiling Rainbow BackgroundColor.swift
[15/23] Compiling Rainbow CodesParser.swift
[16/23] Compiling Rainbow ConditionalStyleBuilder.swift
[17/23] Compiling Rainbow ControlCode.swift
[18/23] Compiling Rainbow HSLColorConverter.swift
[19/23] Compiling Rainbow ModesExtractor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/23] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[22/23] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[23/23] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/18] Compiling Rainbow StringGenerator.swift
[3/18] Compiling Rainbow Style.swift
[4/19] Emitting module LoggerKitMac
[5/19] Compiling LoggerKitMac Logger.swift
[6/20] Compiling Rainbow ConditionalStyleBuilder.swift
[7/20] Compiling Rainbow ControlCode.swift
[8/20] Compiling Rainbow HSLColorConverter.swift
[9/20] Compiling Rainbow ModesExtractor.swift
[11/20] Compiling Rainbow StyledStringBuilder.swift
[12/20] Compiling Rainbow String+ConditionalStyling.swift
[13/20] Compiling Rainbow String+Rainbow.swift
[14/20] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[15/20] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/20] Compiling Rainbow BackgroundColor.swift
[17/20] Compiling Rainbow CodesParser.swift
[18/20] Compiling Rainbow Color.swift
[19/20] Compiling Rainbow ColorApproximation.swift
[20/20] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
BUILD FAILURE 6.1 android