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-4609320-0":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 708c66f Set up CI with Azure Pipelines
Cloned https://github.com/xtremekforever/swift-systemd.git
Revision (git rev-parse @):
708c66fb578bf2ea772deefdbc86cd1367833458
SUCCESS checkout https://github.com/xtremekforever/swift-systemd.git at main
========================================
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-4609320-0":/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/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
[1247/5324] Fetching swift-service-lifecycle, swift-log
[2157/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.39s)
Fetched https://github.com/apple/swift-async-algorithms (0.39s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.39s)
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.41s)
Fetched https://github.com/apple/swift-collections.git (1.74s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.41s)
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
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
Building for debugging...
[1/90] Emitting module ConcurrencyHelpers
[2/90] Emitting module DequeModule
[3/92] Compiling ConcurrencyHelpers LockedValueBox.swift
[4/92] Emitting module OrderedCollections
[5/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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[6/98] Compiling DequeModule _DequeSlot.swift
[7/98] Compiling DequeModule _UnsafeWrappedBuffer.swift
[8/98] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[9/98] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[10/98] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[11/98] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[12/98] Compiling Logging LogHandler.swift
[13/98] Compiling OrderedCollections _HashTable.swift
[14/98] Compiling OrderedCollections _Hashtable+Header.swift
[15/98] Compiling OrderedCollections OrderedDictionary+Codable.swift
[16/98] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[17/98] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[18/98] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[19/98] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[20/98] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[21/98] Compiling OrderedCollections OrderedDictionary+Values.swift
[22/98] Compiling OrderedCollections OrderedDictionary.swift
[23/98] Compiling OrderedCollections OrderedSet+Codable.swift
[24/98] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[25/98] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[26/98] Compiling OrderedCollections OrderedDictionary+Elements.swift
[27/98] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[28/98] Compiling OrderedCollections _HashTable+Bucket.swift
[29/98] Compiling OrderedCollections _HashTable+BucketIterator.swift
[30/98] Compiling OrderedCollections _HashTable+Constants.swift
[31/98] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[32/98] Compiling OrderedCollections _HashTable+Testing.swift
[33/98] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[48/98] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[49/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[50/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[51/98] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[52/98] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[53/98] Compiling OrderedCollections OrderedSet+Sendable.swift
[54/98] Compiling OrderedCollections OrderedSet+SubSequence.swift
[55/98] Compiling OrderedCollections OrderedSet+Initializers.swift
[56/98] Compiling OrderedCollections OrderedSet+Insertions.swift
[57/98] Compiling OrderedCollections OrderedSet+Invariants.swift
[58/98] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[59/98] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[60/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[61/98] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[62/98] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[63/98] Compiling OrderedCollections OrderedSet+Diffing.swift
[64/98] Compiling OrderedCollections OrderedSet+Equatable.swift
[65/98] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[66/98] Compiling OrderedCollections OrderedSet+Hashable.swift
[74/100] Wrapping AST for DequeModule for debugging
[76/106] Compiling _AsyncMergeSequence Rethrow.swift
[77/106] Compiling Logging MetadataProvider.swift
[78/106] Emitting module Logging
[79/106] Compiling Logging Locks.swift
[80/106] Emitting module _AsyncMergeSequence
[81/106] Compiling _AsyncMergeSequence Locking.swift
[82/106] Compiling OrderedCollections OrderedSet+Testing.swift
[83/106] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[84/106] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[85/106] Compiling OrderedCollections OrderedSet.swift
[86/106] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[87/106] Compiling OrderedCollections _UnsafeBitset.swift
[88/107] Compiling ConcurrencyHelpers Lock.swift
[91/110] Compiling _AsyncMergeSequence AsyncMerge2Sequence.swift
[92/110] Compiling _AsyncMergeSequence MergeStorage.swift
[93/110] Compiling _AsyncMergeSequence MergeStateMachine.swift
[96/112] Wrapping AST for ConcurrencyHelpers for debugging
[97/112] Wrapping AST for OrderedCollections for debugging
[100/117] Compiling Logging Logging.swift
[101/118] Compiling Collections Collections.swift
[102/118] Emitting module Collections
[102/119] Wrapping AST for _AsyncMergeSequence for debugging
[107/121] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[109/121] 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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[110/121] 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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[110/121] Wrapping AST for Collections for debugging
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/57] 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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[2/57] 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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[3/57] 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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
error: fatalError
[4/57] Compiling UnixSignals UnixSignal.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2