The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LogKit, reference master (ff7e85), with Swift 6.1 for Linux on 30 Apr 2025 12:43:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marekpridal/LogKit.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/marekpridal/LogKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ff7e857 Log error as error type
Cloned https://github.com/marekpridal/LogKit.git
Revision (git rev-parse @):
ff7e8578b6615876b2017592e62ec6505d8f3ad5
SUCCESS checkout https://github.com/marekpridal/LogKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/marekpridal/LogKit.git
https://github.com/marekpridal/LogKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-android-native",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/skiptools/swift-android-native.git"
    }
  ],
  "manifest_display_name" : "LogKit",
  "name" : "LogKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "LogKit-static",
      "targets" : [
        "LogKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "LogKit-dynamic",
      "targets" : [
        "LogKit"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LogKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LogKitTests",
      "path" : "Tests/LogKitTests",
      "sources" : [
        "LogKitTests.swift"
      ],
      "target_dependencies" : [
        "LogKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LogKit",
      "module_type" : "SwiftTarget",
      "name" : "LogKit",
      "path" : "Sources/LogKit",
      "product_dependencies" : [
        "AndroidLogging"
      ],
      "product_memberships" : [
        "LogKit-static",
        "LogKit-dynamic"
      ],
      "sources" : [
        "LogKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/skiptools/swift-android-native.git
[1/336] Fetching swift-android-native
Fetched https://github.com/skiptools/swift-android-native.git from cache (0.44s)
Computing version for https://github.com/skiptools/swift-android-native.git
Computed https://github.com/skiptools/swift-android-native.git at 1.4.0 (1.52s)
Fetching https://source.skip.tools/swift-jni.git
[1/105] Fetching swift-jni
Fetched https://source.skip.tools/swift-jni.git from cache (0.66s)
Computing version for https://source.skip.tools/swift-jni.git
Computed https://source.skip.tools/swift-jni.git at 0.2.1 (1.52s)
Creating working copy for https://source.skip.tools/swift-jni.git
Working copy of https://source.skip.tools/swift-jni.git resolved at 0.2.1
Creating working copy for https://github.com/skiptools/swift-android-native.git
Working copy of https://github.com/skiptools/swift-android-native.git resolved at 1.4.0
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module LogKit
/host/spi-builder-workspace/Sources/LogKit/LogKit.swift:10:8: error: no such module 'AndroidLogging'
  8 | import Foundation
  9 | #if os(Android) || os(Windows) || os(Linux)
 10 | import AndroidLogging
    |        `- error: no such module 'AndroidLogging'
 11 | import FoundationNetworking
 12 | #else
[4/9] Compiling LogKit LogKit.swift
/host/spi-builder-workspace/Sources/LogKit/LogKit.swift:10:8: error: no such module 'AndroidLogging'
  8 | import Foundation
  9 | #if os(Android) || os(Windows) || os(Linux)
 10 | import AndroidLogging
    |        `- error: no such module 'AndroidLogging'
 11 | import FoundationNetworking
 12 | #else
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/8] Emitting module LogKit
/host/spi-builder-workspace/Sources/LogKit/LogKit.swift:10:8: error: no such module 'AndroidLogging'
  8 | import Foundation
  9 | #if os(Android) || os(Windows) || os(Linux)
 10 | import AndroidLogging
    |        `- error: no such module 'AndroidLogging'
 11 | import FoundationNetworking
 12 | #else
[3/8] Compiling LogKit LogKit.swift
/host/spi-builder-workspace/Sources/LogKit/LogKit.swift:10:8: error: no such module 'AndroidLogging'
  8 | import Foundation
  9 | #if os(Android) || os(Windows) || os(Linux)
 10 | import AndroidLogging
    |        `- error: no such module 'AndroidLogging'
 11 | import FoundationNetworking
 12 | #else
BUILD FAILURE 6.1 linux