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.0 for macOS (SPM) on 8 Jan 2025 09:11:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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
Fetching https://github.com/apple/swift-log
[1/3737] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.07s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.43s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-log-systemd",
      "name": "SystemdJournal",
      "url": "https://github.com/PADL/swift-log-systemd.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log-systemd",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/PADL/swift-log-systemd.git
[1/18] Fetching swift-log-systemd
Fetched https://github.com/PADL/swift-log-systemd.git from cache (0.61s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.59s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.02s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Creating working copy for https://github.com/PADL/swift-log-systemd.git
Working copy of https://github.com/PADL/swift-log-systemd.git resolved at main (95886ee)
warning: '.resolve-product-dependencies': dependency 'swift-log-systemd' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
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.2.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-5BDAB9E9C0126B9D.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging Locks.swift
[6/8] Compiling Logging LogHandler.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Compiling Logging LogHandler.swift
[4/6] Compiling Logging Locks.swift
[5/6] Emitting module Logging
[6/6] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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
[8/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
[9/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
BUILD FAILURE 6.0 macosSpm