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.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $workDir
https://github.com/xtremekforever/swift-systemd.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-collections.git
[1/2147] Fetching swift-service-lifecycle
[2148/6432] Fetching swift-service-lifecycle, swift-async-algorithms
[6391/20263] Fetching swift-service-lifecycle, swift-async-algorithms, swift-collections
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-async-algorithms (0.33s)
[4084/15978] Fetching swift-service-lifecycle, swift-collections
[9617/19155] Fetching swift-service-lifecycle, swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git (0.44s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.00s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-collections.git (1.03s)
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.3.0 (0.43s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.37s)
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/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/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 Logging
[2/90] Emitting module DequeModule
[3/92] Compiling OrderedCollections _HashTable+Constants.swift
[4/92] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[5/92] Compiling OrderedCollections _HashTable+Testing.swift
[6/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[7/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[8/92] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[9/92] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[10/92] Compiling OrderedCollections OrderedSet+Sendable.swift
[11/92] Compiling OrderedCollections OrderedSet+SubSequence.swift
[12/98] Compiling DequeModule _DequeSlot.swift
[13/98] Compiling DequeModule _UnsafeWrappedBuffer.swift
[14/98] Compiling OrderedCollections OrderedDictionary+Elements.swift
[15/98] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[16/98] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[17/98] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[24/98] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[25/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
                            ^
[26/98] Compiling ConcurrencyHelpers LockedValueBox.swift
[27/98] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[28/98] Compiling OrderedCollections _HashTable.swift
[29/98] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[30/98] Compiling OrderedCollections _HashTable+Bucket.swift
[31/98] Compiling OrderedCollections _HashTable+BucketIterator.swift
[39/98] Compiling OrderedCollections _Hashtable+Header.swift
[40/98] Compiling OrderedCollections OrderedDictionary+Codable.swift
[41/98] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[42/98] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[43/98] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[44/98] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[46/98] Emitting module OrderedCollections
[53/99] Compiling OrderedCollections OrderedSet+Initializers.swift
[54/99] Compiling OrderedCollections OrderedSet+Insertions.swift
[55/99] Compiling OrderedCollections OrderedSet+Invariants.swift
[56/99] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[57/99] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[58/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[59/99] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[60/99] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[61/99] Compiling OrderedCollections OrderedSet+Diffing.swift
[62/99] Compiling OrderedCollections OrderedSet+Equatable.swift
[63/99] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[64/99] Compiling OrderedCollections OrderedSet+Hashable.swift
[65/99] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[66/99] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[67/99] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[68/99] Compiling OrderedCollections OrderedDictionary+Values.swift
[69/99] Compiling OrderedCollections OrderedDictionary.swift
[70/99] Compiling OrderedCollections OrderedSet+Codable.swift
[71/99] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[73/100] Wrapping AST for DequeModule for debugging
[75/106] Emitting module _AsyncMergeSequence
[76/106] Compiling _AsyncMergeSequence Rethrow.swift
[77/106] Compiling Logging MetadataProvider.swift
[78/106] Emitting module ConcurrencyHelpers
[79/106] Compiling ConcurrencyHelpers Lock.swift
[80/106] Compiling Logging Locks.swift
[81/106] Compiling _AsyncMergeSequence Locking.swift
[84/108] Compiling OrderedCollections OrderedSet+Testing.swift
[85/108] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[86/108] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[87/108] Compiling OrderedCollections OrderedSet.swift
[88/108] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[89/108] Compiling OrderedCollections _UnsafeBitset.swift
[90/109] Compiling _AsyncMergeSequence MergeStorage.swift
[91/109] Compiling _AsyncMergeSequence AsyncMerge2Sequence.swift
[92/109] Compiling _AsyncMergeSequence MergeStateMachine.swift
[92/109] Wrapping AST for ConcurrencyHelpers for debugging
[98/115] Compiling Logging Logging.swift
[99/115] Compiling Logging LogHandler.swift
[99/116] Wrapping AST for _AsyncMergeSequence for debugging
[100/116] Wrapping AST for OrderedCollections for debugging
[104/119] Emitting module UnixSignals
[105/119] Compiling Collections Collections.swift
[106/119] Emitting module Collections
[106/120] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[108/120] 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
                            ^
[109/120] 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
                            ^
error: fatalError
[111/121] Compiling UnixSignals UnixSignal.swift
[0/1] Planning build
Building for debugging...
[1/14] Emitting module Collections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/15] 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/15] 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/15] 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
                            ^
error: fatalError
[6/16] Emitting module UnixSignals
BUILD FAILURE 5.9 linux

Build Machine: Linux 1