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 0.0.1 (239a22), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 20:35:01 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: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PADL/swift-log-systemd
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 239a228 Initial revision
Cloned https://github.com/PADL/swift-log-systemd.git
Revision (git rev-parse @):
239a228aba47066df25dd7f5b867ac43544484f1
SUCCESS checkout https://github.com/PADL/swift-log-systemd.git at 0.0.1
========================================
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 MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[9/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
[10/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.01s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.43s)
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