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 Log, reference dev (621f59), with Swift 6.1 for Android on 30 May 2025 03:17:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/space-code/log.git
Reference: dev
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/space-code/log
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at 621f592 Bump the Swift version to 6.0 (#8)
Cloned https://github.com/space-code/log.git
Revision (git rev-parse @):
621f592bab667cad75e3545e51c5e4df4128aa49
SUCCESS checkout https://github.com/space-code/log.git at dev
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/space-code/log.git
https://github.com/space-code/log.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Log",
  "name" : "Log",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Log",
      "targets" : [
        "Log"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LogTests",
      "module_type" : "SwiftTarget",
      "name" : "LogTests",
      "path" : "Tests/LogTests",
      "sources" : [
        "IntegrationTests/LogIntegrationTests.swift",
        "Mocks/ConsoleWriterMock.swift",
        "Mocks/LogFormatterMock.swift",
        "Mocks/OSWriterMock.swift",
        "Mocks/PrinterStrategyMock.swift",
        "UnitTests/ConsolePrinterTests.swift",
        "UnitTests/LogTests.swift",
        "UnitTests/OSPrinterTests.swift",
        "UnitTests/PrefixFormatterTests.swift",
        "UnitTests/TimestampLogFormatterTests.swift"
      ],
      "target_dependencies" : [
        "Log"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Log",
      "module_type" : "SwiftTarget",
      "name" : "Log",
      "path" : "Sources/Log",
      "product_memberships" : [
        "Log"
      ],
      "sources" : [
        "Classes/Core/Formatters/Interfaces/ILogFormatter.swift",
        "Classes/Core/Formatters/PrefixLogFormatter.swift",
        "Classes/Core/Formatters/TimestampLogFormatter.swift",
        "Classes/Core/Logger/ILogger.swift",
        "Classes/Core/Logger/Logger.swift",
        "Classes/Core/Logger/Strategies/IPrinterStrategy.swift",
        "Classes/Core/Logger/Strategies/IStyleLogStrategy.swift",
        "Classes/Core/Printers/ConsolePrinter.swift",
        "Classes/Core/Printers/Interfaces/IPrinter.swift",
        "Classes/Core/Printers/OSPrinter.swift",
        "Classes/Helpers/Atomic/Atomic.swift",
        "Classes/Helpers/Writers/ConsoleWriter/ConsoleWriter.swift",
        "Classes/Helpers/Writers/ConsoleWriter/IConsoleWriter.swift",
        "Classes/Helpers/Writers/OSWriter/IOSWriter.swift",
        "Classes/Helpers/Writers/OSWriter/OSWriter.swift",
        "Classes/Helpers/Writers/OSWriter/Strategies/IOSWriterStrategy.swift",
        "Classes/Models/LogLevel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] Emitting module Log
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[4/20] Compiling Log IOSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[5/20] Compiling Log OSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[6/20] Compiling Log ConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[7/20] Compiling Log IConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[8/20] Compiling Log ILogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[9/20] Compiling Log PrefixLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[10/20] Compiling Log TimestampLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[11/20] Compiling Log IOSWriterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[12/20] Compiling Log LogLevel.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[13/20] Compiling Log ConsolePrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[14/20] Compiling Log IPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[15/20] Compiling Log IPrinterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[16/20] Compiling Log IStyleLogStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[17/20] Compiling Log ILogger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[18/20] Compiling Log Logger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[19/20] Compiling Log OSPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[20/20] Compiling Log Atomic.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/17] Compiling Log ILogger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[3/17] Compiling Log Logger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[4/19] Compiling Log IOSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[5/19] Compiling Log OSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[6/19] Compiling Log IPrinterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[7/19] Compiling Log IStyleLogStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[8/19] Compiling Log ConsolePrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[9/19] Compiling Log IPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[10/19] Compiling Log OSPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[11/19] Compiling Log Atomic.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[12/19] Compiling Log ILogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[13/19] Compiling Log PrefixLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[14/19] Compiling Log TimestampLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[15/19] Compiling Log ConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[16/19] Compiling Log IConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Emitting module Log
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[18/19] Compiling Log IOSWriterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[19/19] Compiling Log LogLevel.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
BUILD FAILURE 6.1 android