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 SystemdJournal, reference main (95886e), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 20:35:17 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/swift-log-systemd.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PADL/swift-log-systemd
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 95886ee Update README.md
Cloned https://github.com/PADL/swift-log-systemd.git
Revision (git rev-parse @):
95886ee1523f62343a114e5c6a9d3e3747028d0c
SUCCESS checkout https://github.com/PADL/swift-log-systemd.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/swift-log-systemd.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging LogHandler.swift
[5/8] Emitting module Logging
[6/8] Compiling Logging Logging.swift
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module SystemdJournal
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CSystemdJournal/include/CSystemdJournal.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSystemdJournal/include/CSystemdJournal.h:3:10: error: 'systemd/sd-journal.h' file not found
1 | #pragma once
2 |
3 | #include <systemd/sd-journal.h>
  |          `- error: 'systemd/sd-journal.h' file not found
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemdJournal/SystemdJournal.swift:14:8: error: could not build Objective-C module 'CSystemdJournal'
 12 | //===----------------------------------------------------------------------===//
 13 |
 14 | import CSystemdJournal
    |        `- error: could not build Objective-C module 'CSystemdJournal'
 15 | import Glibc
 16 | import Logging
[10/11] Compiling SystemdJournal Utility.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CSystemdJournal/include/CSystemdJournal.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSystemdJournal/include/CSystemdJournal.h:3:10: error: 'systemd/sd-journal.h' file not found
1 | #pragma once
2 |
3 | #include <systemd/sd-journal.h>
  |          `- error: 'systemd/sd-journal.h' file not found
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemdJournal/SystemdJournal.swift:14:8: error: could not build Objective-C module 'CSystemdJournal'
 12 | //===----------------------------------------------------------------------===//
 13 |
 14 | import CSystemdJournal
    |        `- error: could not build Objective-C module 'CSystemdJournal'
 15 | import Glibc
 16 | import Logging
[11/11] Compiling SystemdJournal SystemdJournal.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CSystemdJournal/include/CSystemdJournal.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CSystemdJournal/include/CSystemdJournal.h:3:10: error: 'systemd/sd-journal.h' file not found
1 | #pragma once
2 |
3 | #include <systemd/sd-journal.h>
  |          `- error: 'systemd/sd-journal.h' file not found
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemdJournal/SystemdJournal.swift:14:8: error: could not build Objective-C module 'CSystemdJournal'
 12 | //===----------------------------------------------------------------------===//
 13 |
 14 | import CSystemdJournal
    |        `- error: could not build Objective-C module 'CSystemdJournal'
 15 | import Glibc
 16 | import Logging
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.00s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.42s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
BUILD FAILURE 6.2 macosSpm