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 SPT, reference main (aea1e1), with Swift 6.1 for Android on 2 Dec 2025 00:50:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TahaTesser/SPT.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/TahaTesser/SPT
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aea1e10 Add development warning to README
Cloned https://github.com/TahaTesser/SPT.git
Revision (git rev-parse @):
aea1e105dfe450af8a833031806bd2798bf3a104
SUCCESS checkout https://github.com/TahaTesser/SPT.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/TahaTesser/SPT.git
https://github.com/TahaTesser/SPT.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SPT",
  "name" : "SPT",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SPT",
      "targets" : [
        "SPT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SPTTests",
      "module_type" : "SwiftTarget",
      "name" : "SPTTests",
      "path" : "Tests/SPTTests",
      "sources" : [
        "SPTTests.swift"
      ],
      "target_dependencies" : [
        "SPT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPTInstrumentation",
      "module_type" : "SwiftTarget",
      "name" : "SPTInstrumentation",
      "path" : "Sources/SPTInstrumentation",
      "product_memberships" : [
        "SPT"
      ],
      "sources" : [
        "SPTInstrumentation.swift",
        "SPTViewProfiling.swift"
      ],
      "target_dependencies" : [
        "SPTCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPTCore",
      "module_type" : "SwiftTarget",
      "name" : "SPTCore",
      "path" : "Sources/SPTCore",
      "product_memberships" : [
        "SPT"
      ],
      "sources" : [
        "SPT.swift",
        "SPTConfiguration.swift",
        "SPTDefaultAnalytics.swift",
        "SPTEventBus.swift",
        "SPTEvents.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPT",
      "module_type" : "SwiftTarget",
      "name" : "SPT",
      "path" : "Sources/SPT",
      "product_memberships" : [
        "SPT"
      ],
      "sources" : [
        "SPT.swift"
      ],
      "target_dependencies" : [
        "SPTCore",
        "SPTInstrumentation"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module SPTCore
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[6/10] Compiling SPTCore SPT.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[7/10] Compiling SPTCore SPTConfiguration.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[8/10] Compiling SPTCore SPTEvents.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[9/10] Compiling SPTCore SPTEventBus.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[10/10] Compiling SPTCore SPTDefaultAnalytics.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
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/7] Compiling SPTCore SPTConfiguration.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module SPTCore
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[4/7] Compiling SPTCore SPT.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[5/7] Compiling SPTCore SPTEvents.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[6/7] Compiling SPTCore SPTEventBus.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
[7/7] Compiling SPTCore SPTDefaultAnalytics.swift
/host/spi-builder-workspace/Sources/SPTCore/SPTDefaultAnalytics.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | private let logger = Logger(subsystem: "com.spt", category: "Performance")
BUILD FAILURE 6.1 android