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 LogKit, reference master (ff7e85), with Swift 6.0 for Linux on 9 Feb 2025 23:28:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/skiptools/swift-android-native.git
[1/172] Fetching swift-android-native
Fetched https://github.com/skiptools/swift-android-native.git from cache (0.18s)
Computing version for https://github.com/skiptools/swift-android-native.git
Computed https://github.com/skiptools/swift-android-native.git at 1.1.0 (0.59s)
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.1.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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0 linux