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

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $workDir
https://github.com/xtremekforever/swift-systemd.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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
Fetching https://github.com/apple/swift-log.git
[1/2147] Fetching swift-service-lifecycle
[624/5324] Fetching swift-service-lifecycle, swift-log
[4118/9609] Fetching swift-service-lifecycle, swift-log, swift-async-algorithms
[7254/23440] Fetching swift-service-lifecycle, swift-log, swift-async-algorithms, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
[7190/18116] Fetching swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms from cache (0.45s)
[3182/13831] Fetching swift-collections
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.3.0 (0.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.06s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.42s)
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-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-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
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
Building for debugging...
[0/27] Write sources
[12/27] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/104] 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
                            ^
[15/104] Compiling OrderedCollections OrderedDictionary+Elements.swift
[16/104] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[17/106] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[18/106] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[19/106] Compiling ConcurrencyHelpers LockedValueBox.swift
[20/106] 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
                            ^
[21/106] Compiling OrderedCollections _HashTable+Bucket.swift
[22/106] Compiling OrderedCollections _HashTable+BucketIterator.swift
[23/106] Compiling OrderedCollections _HashTable+Constants.swift
[24/106] Emitting module DequeModule
[25/106] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[26/106] Compiling OrderedCollections _HashTable+Testing.swift
[27/106] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[30/106] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[31/106] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[32/106] Compiling DequeModule _DequeSlot.swift
[33/106] Compiling DequeModule _UnsafeWrappedBuffer.swift
[34/106] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[37/112] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[38/112] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[39/112] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[40/112] Compiling OrderedCollections OrderedDictionary+Values.swift
[41/112] Compiling OrderedCollections OrderedDictionary.swift
[42/112] Compiling OrderedCollections OrderedSet+Codable.swift
[43/112] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[44/112] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[45/112] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[46/112] Compiling OrderedCollections OrderedSet+Diffing.swift
[47/112] Compiling OrderedCollections OrderedSet+Equatable.swift
[48/112] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[49/112] Compiling OrderedCollections OrderedSet+Hashable.swift
[50/112] Compiling OrderedCollections OrderedSet+Initializers.swift
[51/112] Compiling OrderedCollections OrderedSet+Insertions.swift
[52/112] Compiling OrderedCollections OrderedSet+Invariants.swift
[53/112] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[54/112] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[55/112] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[56/112] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[57/112] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[58/112] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[59/112] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[60/112] Compiling OrderedCollections OrderedSet+Sendable.swift
[61/112] Compiling OrderedCollections OrderedSet+SubSequence.swift
[62/112] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[63/112] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[64/112] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[65/112] Compiling OrderedCollections _HashTable.swift
[66/112] Compiling OrderedCollections _Hashtable+Header.swift
[67/112] Compiling OrderedCollections OrderedDictionary+Codable.swift
[75/112] Emitting module OrderedCollections
[85/113] Wrapping AST for DequeModule for debugging
[87/113] Emitting module Logging
[88/116] Compiling ConcurrencyHelpers Lock.swift
[89/116] Emitting module ConcurrencyHelpers
[91/120] Compiling _AsyncMergeSequence Rethrow.swift
[92/120] Compiling _AsyncMergeSequence Locking.swift
[93/120] Emitting module _AsyncMergeSequence
[93/120] Wrapping AST for ConcurrencyHelpers for debugging
[95/120] Compiling OrderedCollections OrderedSet+Testing.swift
[96/120] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[97/120] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[98/120] Compiling OrderedCollections OrderedSet.swift
[99/120] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[100/120] Compiling OrderedCollections _UnsafeBitset.swift
[102/124] Compiling Logging MetadataProvider.swift
[103/124] Compiling Logging Logging.swift
[104/124] Compiling Logging LogHandler.swift
[105/124] Compiling Logging Locks.swift
[106/125] Compiling _AsyncMergeSequence AsyncMerge2Sequence.swift
[107/125] Compiling _AsyncMergeSequence MergeStateMachine.swift
[108/125] Compiling _AsyncMergeSequence MergeStorage.swift
[109/128] Wrapping AST for OrderedCollections for debugging
[111/128] Wrapping AST for Logging for debugging
[113/128] Emitting module Collections
[114/128] Compiling Collections Collections.swift
[114/129] Wrapping AST for _AsyncMergeSequence for debugging
[116/129] 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
                            ^
[117/129] Compiling UnixSignals UnixSignalsSequence.swift
[118/129] Emitting module UnixSignals
[119/129] Compiling UnixSignals UnixSignal.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/15] Write swift-version-24593BA9C3E375BF.txt
[2/15] Emitting module Collections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] 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
                            ^
[4/16] 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
                            ^
[5/16] 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
[7/16] Emitting module UnixSignals
BUILD FAILURE 5.10 linux

Build Machine: Linux 1