The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log, reference 1.17.2 (c7413d), with Swift 6.2 for Linux on 20 Nov 2026 01:17:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-log.git
Reference: 1.17.2
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/apple/swift-log
 * tag               1.17.2     -> FETCH_HEAD
HEAD is now at c7413d9 Make `MultiplexLogHandler.metadataProvider` setter replace the initializer's provider (#537)
Cloned https://github.com/apple/swift-log.git
Revision (git rev-parse @):
c7413d967b97aae67c46452bf7645bdb7b200e8e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-log.git at 1.17.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-log.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:448fd83fd52215d086a1e24a6dfef7af36c159759f7d20bea90a3c7c927de91e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling Logging LoggingSystem.swift
[6/21] Compiling Logging Logger+With.swift
[7/21] Compiling Logging Logger.swift
[8/21] Compiling Logging MetadataProvider.swift
[9/21] Compiling Logging LogEvent.swift
[10/21] Compiling Logging LogHandler.swift
[11/21] Compiling Logging Logger+Attributes.swift
[12/21] Compiling Logging SwiftLogNoOpLogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/21] Compiling Logging Locks.swift
[14/21] Emitting module Logging
/host/spi-builder-workspace/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[15/21] Compiling Logging MultiplexLogHandler.swift
/host/spi-builder-workspace/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[16/21] Compiling Logging StreamLogHandler.swift
/host/spi-builder-workspace/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
BUILD FAILURE 6.2 linux