The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-logsmith, reference main (2f73fa), with Swift 6.4 for Linux on 23 Oct 2026 11:45:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eeshanjamal/swift-logsmith.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/eeshanjamal/swift-logsmith
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2f73faf Merge pull request #1 from eeshanjamal/feat/swift-log-backend
Cloned https://github.com/eeshanjamal/swift-logsmith.git
Revision (git rev-parse @):
2f73faf90c1c01b0f01b6676f7e7a02091092c8a
SUCCESS checkout https://github.com/eeshanjamal/swift-logsmith.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/eeshanjamal/swift-logsmith.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/2345] Fetching swift-docc-plugin
[236/8847] Fetching swift-docc-plugin, zipfoundation
[1897/17220] Fetching swift-docc-plugin, zipfoundation, swift-log
Fetched https://github.com/apple/swift-docc-plugin (0.64s)
Fetched https://github.com/weichsel/ZIPFoundation.git (0.64s)
[252/8373] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.93s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3847] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
warning: 'zipfoundation': /Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.14s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
warning: 'zipfoundation': /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[48 / 87] ZIPFoundation
[49 / 87] Logging
[60 / 87] ZIPFoundation
[61 / 87] ZIPFoundation-product
[62 / 87] ZIPFoundation-product
[63 / 87] Logging
[65 / 87] ZIPFoundation
[70 / 97] SwiftLogSmith
[73 / 98] SwiftLogSmith
[75 / 98] SwiftLogSmith
[76 / 98] SwiftLogSmith
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftLogSmith/Destinations/OSLogger.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile OSLogger.swift
/host/spi-builder-workspace/Sources/SwiftLogSmith/Destinations/OSLogger.swift:10:8: error: no such module 'OSLog'
 8 |
 9 | public import Foundation
10 | import OSLog
   |        `- error: no such module 'OSLog'
11 |
12 | /// An ``ILogger`` compliant class that writes to the Apple Unified Logging System (`os.Logger`).
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftLogSmith/Core/ILogger.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/Core/LogFormatter.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/Core/LogManager.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/Core/LogMessage.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/Core/LogTagger.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/Destinations/FileLogger.swift -primary-file /host/spi-builder-workspace/Sources/SwiftLogSmith/Destinations/OSLogger.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/Extensions/DispatchQueueX.swift /host/spi-builder-workspace/Sources/SwiftLogSmith/LogSmith.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/OSLogger.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/OSLogger.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/OSLogger.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/OSLogger.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature ImmutableWeakCaptures -enable-experimental-feature DebugDescriptionMacro -strict-memory-safety -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftLogSmith -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.no[76 / 99] SwiftLogSmith
index/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/SwiftLogSmith_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/OSLogger.o -index-unit-output-path /swift-logsmith.build/Debug-linux-x86_64/SwiftLogSmith-t.build/Objects-normal/x86_64/OSLogger.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux