The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-systemd with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xtremekforever/swift-systemd.git
Reference: 0.0.4
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/xtremekforever/swift-systemd
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at fe8ac2c Merge pull request #1 from xtremekforever/feature/systemd-watchdog
Cloned https://github.com/xtremekforever/swift-systemd.git
Revision (git rev-parse @):
fe8ac2c0dc77a6d990a20720a9626a0696f56c82
SUCCESS checkout https://github.com/xtremekforever/swift-systemd.git at 0.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/xtremekforever/swift-systemd.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms
[1/2147] Fetching swift-service-lifecycle
[173/5324] Fetching swift-service-lifecycle, swift-log
[4436/9609] Fetching swift-service-lifecycle, swift-log, swift-async-algorithms
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-log.git (0.35s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.41s)
Fetched https://github.com/apple/swift-async-algorithms (0.41s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
[1/13831] Fetching swift-collections
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.3.0 (0.37s)
Fetched https://github.com/apple/swift-collections.git (1.01s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.33s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.3.0
Building for debugging...
[1/90] Emitting module DequeModule
[2/92] Emitting module OrderedCollections
[3/98] Compiling Systemd SystemdNotifier.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "systemd.h"
         ^
/host/spi-builder-workspace/Sources/CSystemd/systemd.h:1:10: error: 'systemd/sd-daemon.h' file not found
#include <systemd/sd-daemon.h>
         ^
/host/spi-builder-workspace/Sources/Systemd/SystemdNotifier.swift:2:29: error: could not build C module 'CSystemd'
@_implementationOnly import CSystemd
                            ^
[4/98] Compiling DequeModule _DequeSlot.swift
[5/98] Compiling DequeModule _UnsafeWrappedBuffer.swift
[6/98] Compiling DequeModule Deque.swift
[7/98] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[8/98] Compiling DequeModule _DequeBuffer.swift
[9/98] Compiling DequeModule _DequeBufferHeader.swift
[10/98] Compiling ConcurrencyHelpers LockedValueBox.swift
[11/98] Compiling DequeModule Deque._Storage.swift
[12/98] Compiling DequeModule Deque._UnsafeHandle.swift
[13/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[14/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[15/98] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[16/98] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[17/98] Compiling OrderedCollections OrderedSet+Sendable.swift
[18/98] Compiling OrderedCollections OrderedSet+SubSequence.swift
[19/98] Compiling OrderedCollections OrderedSet+Initializers.swift
[20/98] Compiling OrderedCollections OrderedSet+Insertions.swift
[21/98] Compiling OrderedCollections OrderedSet+Invariants.swift
[22/98] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[23/98] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[24/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[25/98] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[26/98] Compiling DequeModule Deque+CustomReflectable.swift
[27/98] Compiling DequeModule Deque+CustomStringConvertible.swift
[28/98] Compiling DequeModule Deque+Equatable.swift
[29/98] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[30/98] Compiling DequeModule Deque+Extras.swift
[31/98] Compiling DequeModule Deque+Hashable.swift
[32/98] Compiling DequeModule Deque+Sendable.swift
[33/98] Compiling DequeModule Deque+Testing.swift
[34/98] Compiling DequeModule Compatibility.swift
[35/98] Compiling DequeModule Deque+Codable.swift
[36/98] Compiling DequeModule Deque+Collection.swift
[37/99] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[38/99] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[39/99] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[40/99] Compiling OrderedCollections OrderedDictionary+Values.swift
[41/99] Compiling OrderedCollections OrderedDictionary.swift
[42/99] Compiling OrderedCollections OrderedSet+Codable.swift
[43/99] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[51/99] Compiling OrderedCollections _Hashtable+Header.swift
[52/99] Compiling OrderedCollections OrderedDictionary+Codable.swift
[53/99] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[54/99] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[55/99] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[56/99] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[57/99] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[72/100] Wrapping AST for DequeModule for debugging
[74/106] Compiling OrderedCollections OrderedSet+Testing.swift
[75/106] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[76/106] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[77/106] Compiling OrderedCollections OrderedSet.swift
[78/106] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[79/106] Compiling OrderedCollections _UnsafeBitset.swift
[81/108] Wrapping AST for OrderedCollections for debugging
[83/108] Compiling _AsyncMergeSequence AsyncMerge2Sequence.swift
[84/110] Emitting module _AsyncMergeSequence
[85/110] Emitting module Collections
[86/110] Compiling Collections Collections.swift
[87/111] Compiling _AsyncMergeSequence MergeStateMachine.swift
[88/111] Compiling _AsyncMergeSequence Rethrow.swift
[89/111] Compiling _AsyncMergeSequence Locking.swift
[90/111] Compiling _AsyncMergeSequence MergeStorage.swift
[91/112] Compiling Logging MetadataProvider.swift
[95/114] Emitting module Logging
[96/114] Compiling Logging Locks.swift
[97/114] Emitting module ConcurrencyHelpers
[98/114] Compiling ConcurrencyHelpers Lock.swift
[100/116] Wrapping AST for Collections for debugging
[102/116] Wrapping AST for _AsyncMergeSequence for debugging
[103/116] Wrapping AST for ConcurrencyHelpers for debugging
[105/160] Compiling Logging LogHandler.swift
[106/160] Compiling Logging Logging.swift
[108/165] Wrapping AST for Logging for debugging
[110/165] Emitting module UnixSignals
[111/165] Compiling UnixSignals UnixSignal.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/165] Emitting module Systemd
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "systemd.h"
         ^
/host/spi-builder-workspace/Sources/CSystemd/systemd.h:1:10: error: 'systemd/sd-daemon.h' file not found
#include <systemd/sd-daemon.h>
         ^
/host/spi-builder-workspace/Sources/Systemd/SystemdNotifier.swift:2:29: error: could not build C module 'CSystemd'
@_implementationOnly import CSystemd
                            ^
[113/165] Compiling Systemd SystemdHelpers.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "systemd.h"
         ^
/host/spi-builder-workspace/Sources/CSystemd/systemd.h:1:10: error: 'systemd/sd-daemon.h' file not found
#include <systemd/sd-daemon.h>
         ^
/host/spi-builder-workspace/Sources/Systemd/SystemdNotifier.swift:2:29: error: could not build C module 'CSystemd'
@_implementationOnly import CSystemd
                            ^
[0/1] Planning build
Building for debugging...
[1/40] Compiling Systemd SystemdNotifier.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "systemd.h"
         ^
/host/spi-builder-workspace/Sources/CSystemd/systemd.h:1:10: error: 'systemd/sd-daemon.h' file not found
#include <systemd/sd-daemon.h>
         ^
/host/spi-builder-workspace/Sources/Systemd/SystemdNotifier.swift:2:29: error: could not build C module 'CSystemd'
@_implementationOnly import CSystemd
                            ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/56] Emitting module Systemd
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "systemd.h"
         ^
/host/spi-builder-workspace/Sources/CSystemd/systemd.h:1:10: error: 'systemd/sd-daemon.h' file not found
#include <systemd/sd-daemon.h>
         ^
/host/spi-builder-workspace/Sources/Systemd/SystemdNotifier.swift:2:29: error: could not build C module 'CSystemd'
@_implementationOnly import CSystemd
                            ^
[3/56] Compiling Systemd SystemdHelpers.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "systemd.h"
         ^
/host/spi-builder-workspace/Sources/CSystemd/systemd.h:1:10: error: 'systemd/sd-daemon.h' file not found
#include <systemd/sd-daemon.h>
         ^
/host/spi-builder-workspace/Sources/Systemd/SystemdNotifier.swift:2:29: error: could not build C module 'CSystemd'
@_implementationOnly import CSystemd
                            ^
[4/56] Emitting module UnixSignals
BUILD FAILURE 5.8 linux

Build Machine: Linux 2