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.1 for macOS (SPM) on 30 Apr 2025 07:25:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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.1
Building package at path:  $PWD
https://github.com/PADL/swift-log-systemd.git
https://github.com/PADL/swift-log-systemd.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "SystemdJournal",
  "name" : "SystemdJournal",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SystemdJournal",
      "targets" : [
        "SystemdJournal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SystemdJournal",
      "module_type" : "SwiftTarget",
      "name" : "SystemdJournal",
      "path" : "Sources/SystemdJournal",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SystemdJournal"
      ],
      "sources" : [
        "SystemdJournal.swift",
        "Utility.swift"
      ],
      "target_dependencies" : [
        "CSystemdJournal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystemdJournal",
      "module_type" : "ClangTarget",
      "name" : "CSystemdJournal",
      "path" : "Sources/CSystemdJournal",
      "product_memberships" : [
        "SystemdJournal"
      ],
      "sources" : [
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Emitting module Logging
[6/8] Compiling Logging LogHandler.swift
[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 from cache
Fetched https://github.com/apple/swift-log from cache (0.71s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.20s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Logging Locks.swift
[3/6] Compiling Logging MetadataProvider.swift
[4/6] Compiling Logging LogHandler.swift
[5/6] Emitting module Logging
[6/6] Compiling Logging Logging.swift
[7/9] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] 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
[9/9] 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
BUILD FAILURE 6.1 macosSpm