The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-oslog, reference main (e18692), with Swift 6.1 for Linux on 3 Mar 2026 00:56:01 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/astzweig/swift-log-oslog.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/astzweig/swift-log-oslog
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e18692f Separate metadata by a unicode arrow in log
Cloned https://github.com/astzweig/swift-log-oslog.git
Revision (git rev-parse @):
e18692fd4dea53d3bfe09a85ccbaeaef40f6fc11
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/astzweig/swift-log-oslog.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/astzweig/swift-log-oslog.git
https://github.com/astzweig/swift-log-oslog.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.10.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "swift-log-oslog",
  "name" : "swift-log-oslog",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "LoggingOSLog",
      "targets" : [
        "LoggingOSLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingOSLogTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingOSLogTests",
      "path" : "Tests/Logging OSLog Tests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "Logging Test.swift"
      ],
      "target_dependencies" : [
        "LoggingOSLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingOSLog",
      "module_type" : "SwiftTarget",
      "name" : "LoggingOSLog",
      "path" : "Sources/Logging OSLog",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "LoggingOSLog"
      ],
      "sources" : [
        "Logger Metadata Extension.swift",
        "Logging OSLog.swift",
        "OSLog Extension.swift"
      ],
      "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: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:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log
[1/6090] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.72s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (1.39s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Emitting module Logging
[6/8] Compiling Logging Locks.swift
[7/8] Compiling Logging LogHandler.swift
[8/8] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Emitting module LoggingOSLog
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
[11/13] Compiling LoggingOSLog Logger Metadata Extension.swift
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
[12/13] Compiling LoggingOSLog OSLog Extension.swift
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
[13/13] Compiling LoggingOSLog Logging OSLog.swift
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
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: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:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Compiling Logging Locks.swift
[4/6] Compiling Logging LogHandler.swift
[5/6] Emitting module Logging
[6/6] Compiling Logging Logging.swift
[8/11] Compiling LoggingOSLog OSLog Extension.swift
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module LoggingOSLog
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
[10/11] Compiling LoggingOSLog Logger Metadata Extension.swift
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
[11/11] Compiling LoggingOSLog Logging OSLog.swift
/host/spi-builder-workspace/Sources/Logging OSLog/Logging OSLog.swift:2:8: error: no such module 'os'
  1 | import Foundation
  2 | import os
    |        `- error: no such module 'os'
  3 | import Logging
  4 |
BUILD FAILURE 6.1 linux