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 WrkstrmLog, reference main (9780fc), with Swift 6.2 (beta) for Linux on 11 Sep 2025 08:16:08 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/WrkstrmLog.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/wrkstrm/WrkstrmLog
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9780fc4 Add documentation for problem space and solution
Cloned https://github.com/wrkstrm/WrkstrmLog.git
Revision (git rev-parse @):
9780fc425c51bb037aae56caf5c1b4d1e8b42206
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmLog.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wrkstrm/WrkstrmLog.git
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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
[1/2094] Fetching swift-docc-plugin
[232/5997] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.13s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3507] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging Locks.swift
[8/10] Compiling Logging LogHandler.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[12/32] Compiling WrkstrmLog PrintLogBackend.swift
[13/32] Compiling WrkstrmLog SwiftLogBackend.swift
[14/32] Compiling WrkstrmLog CommonLogContext.swift
[15/34] Compiling WrkstrmLog Platform.swift
[16/34] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[17/34] Compiling WrkstrmLog Log.swift
[18/34] Compiling WrkstrmLog LogBackend.swift
[19/34] Compiling WrkstrmLog Log+CacheStorage.WASM.swift
/host/spi-builder-workspace/Sources/WrkstrmLog/Log+Decorator.swift:105:27: error: cannot find 'SYS_gettid' in scope
103 |         if pthread_threadid_np(nil, &tid) == 0 { threadId = tid }
104 |         #elseif canImport(Glibc)
105 |         let tid = syscall(SYS_gettid)
    |                           `- error: cannot find 'SYS_gettid' in scope
106 |         if tid > 0 { threadId = UInt64(tid) }
107 |         #endif
[20/34] Compiling WrkstrmLog Log+CacheStorage.swift
/host/spi-builder-workspace/Sources/WrkstrmLog/Log+Decorator.swift:105:27: error: cannot find 'SYS_gettid' in scope
103 |         if pthread_threadid_np(nil, &tid) == 0 { threadId = tid }
104 |         #elseif canImport(Glibc)
105 |         let tid = syscall(SYS_gettid)
    |                           `- error: cannot find 'SYS_gettid' in scope
106 |         if tid > 0 { threadId = UInt64(tid) }
107 |         #endif
[21/34] Compiling WrkstrmLog Log+Decorator.swift
/host/spi-builder-workspace/Sources/WrkstrmLog/Log+Decorator.swift:105:27: error: cannot find 'SYS_gettid' in scope
103 |         if pthread_threadid_np(nil, &tid) == 0 { threadId = tid }
104 |         #elseif canImport(Glibc)
105 |         let tid = syscall(SYS_gettid)
    |                           `- error: cannot find 'SYS_gettid' in scope
106 |         if tid > 0 { threadId = UInt64(tid) }
107 |         #endif
[22/34] Compiling WrkstrmLog DecoratedBackend.swift
[23/34] Compiling WrkstrmLog FanoutLog.swift
[24/34] Compiling WrkstrmLog FatalErrorUtil.swift
[25/34] Compiling WrkstrmLog Level+Emoji.swift
[26/34] Compiling WrkstrmLog Level+OSLogType.swift
[27/34] Compiling WrkstrmLog Log+Cache.swift
[28/34] Emitting module WrkstrmLog
[29/34] Compiling WrkstrmLog Log+Inject.swift
[30/34] Compiling WrkstrmLog Log+Levels.swift
[31/34] Compiling WrkstrmLog Log+Shared.swift
[32/34] Compiling WrkstrmLog DisabledLogBackend.swift
/host/spi-builder-workspace/Sources/WrkstrmLog/Backends/FileLogBackend.swift:46:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 44 |       try fm.createDirectory(at: dir, withIntermediateDirectories: true)
 45 |       if !fm.fileExists(atPath: url.path) {
 46 |         fm.createFile(atPath: url.path, contents: nil)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 47 |       }
 48 |       let h = try FileHandle(forWritingTo: url)
[33/34] Compiling WrkstrmLog FileLogBackend.swift
/host/spi-builder-workspace/Sources/WrkstrmLog/Backends/FileLogBackend.swift:46:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 44 |       try fm.createDirectory(at: dir, withIntermediateDirectories: true)
 45 |       if !fm.fileExists(atPath: url.path) {
 46 |         fm.createFile(atPath: url.path, contents: nil)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 47 |       }
 48 |       let h = try FileHandle(forWritingTo: url)
[34/34] Compiling WrkstrmLog OSLogBackend.swift
/host/spi-builder-workspace/Sources/WrkstrmLog/Backends/FileLogBackend.swift:46:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 44 |       try fm.createDirectory(at: dir, withIntermediateDirectories: true)
 45 |       if !fm.fileExists(atPath: url.path) {
 46 |         fm.createFile(atPath: url.path, contents: nil)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 47 |       }
 48 |       let h = try FileHandle(forWritingTo: url)
BUILD FAILURE 6.2 linux