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-4609320-1":/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: 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.10
Building package at path:  $workDir
https://github.com/xtremekforever/swift-systemd.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/3177] Fetching swift-log
[383/7462] Fetching swift-log, swift-async-algorithms
[723/9609] Fetching swift-log, swift-async-algorithms, swift-service-lifecycle
[2221/23440] Fetching swift-log, swift-async-algorithms, swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.72s)
[10367/21293] Fetching swift-log, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms from cache (2.04s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-log.git from cache (2.04s)
Fetched https://github.com/apple/swift-collections.git from cache (2.09s)
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.3.0 (0.77s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.68s)
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/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...
[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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[15/104] Emitting module DequeModule
[16/106] Compiling ConcurrencyHelpers LockedValueBox.swift
[17/106] Compiling OrderedCollections _HashTable+Constants.swift
[18/106] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[19/106] Compiling DequeModule _DequeSlot.swift
[20/106] Compiling DequeModule _UnsafeWrappedBuffer.swift
[21/106] Emitting module OrderedCollections
[22/112] Compiling DequeModule Deque+Hashable.swift
[23/112] Compiling DequeModule Deque+Sendable.swift
[24/112] Compiling DequeModule Deque+Testing.swift
[25/112] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[26/112] Compiling OrderedCollections OrderedDictionary+Elements.swift
[27/112] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[28/112] 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
       ^
[29/112] Compiling Logging LogHandler.swift
[35/112] Compiling DequeModule Deque._Storage.swift
[36/112] Compiling DequeModule Deque._UnsafeHandle.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 _Hashtable+Header.swift
[45/112] Compiling OrderedCollections OrderedDictionary+Codable.swift
[46/112] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[47/112] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[48/112] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[49/112] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[50/112] Compiling OrderedCollections _HashTable+Bucket.swift
[51/112] Compiling OrderedCollections _HashTable+BucketIterator.swift
[67/113] Compiling OrderedCollections _HashTable.swift
[69/113] Compiling OrderedCollections OrderedSet+Initializers.swift
[70/113] Compiling OrderedCollections OrderedSet+Insertions.swift
[71/113] Compiling OrderedCollections OrderedSet+Invariants.swift
[72/113] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[73/113] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[74/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[75/113] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[76/113] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[77/113] Compiling OrderedCollections OrderedSet+Diffing.swift
[78/113] Compiling OrderedCollections OrderedSet+Equatable.swift
[79/113] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[80/113] Compiling OrderedCollections OrderedSet+Hashable.swift
[81/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[82/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[83/113] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[84/113] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[85/113] Compiling OrderedCollections OrderedSet+Sendable.swift
[86/113] Compiling OrderedCollections OrderedSet+SubSequence.swift
[86/113] Wrapping AST for DequeModule for debugging
[88/119] Emitting module _AsyncMergeSequence
[89/119] Emitting module Logging
[90/119] Compiling Logging Locks.swift
[91/119] Compiling _AsyncMergeSequence Locking.swift
[92/119] Compiling Logging MetadataProvider.swift
[93/119] Emitting module ConcurrencyHelpers
[94/119] Compiling ConcurrencyHelpers Lock.swift
[96/120] Compiling _AsyncMergeSequence MergeStateMachine.swift
[97/120] Compiling _AsyncMergeSequence MergeStorage.swift
[98/120] Compiling _AsyncMergeSequence Rethrow.swift
[99/120] Compiling _AsyncMergeSequence AsyncMerge2Sequence.swift
[99/121] Wrapping AST for ConcurrencyHelpers for debugging
[102/124] Compiling OrderedCollections OrderedSet+Testing.swift
[103/124] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[104/124] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[105/124] Compiling OrderedCollections OrderedSet.swift
[106/124] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[107/124] Compiling OrderedCollections _UnsafeBitset.swift
[109/125] Compiling Logging Logging.swift
[110/126] Wrapping AST for _AsyncMergeSequence for debugging
[112/126] 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
       ^
[113/126] Emitting module UnixSignals
[114/126] Compiling UnixSignals UnixSignal.swift
[115/126] Compiling UnixSignals UnixSignalsSequence.swift
[116/127] Wrapping AST for Logging for debugging
[117/127] Wrapping AST for OrderedCollections for debugging
[119/129] Compiling Collections Collections.swift
[120/129] Emitting module Collections
error: fatalError
[0/1] Planning build
Building for debugging...
[0/15] Write swift-version-24593BA9C3E375BF.txt
[2/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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
[3/15] Emitting module Collections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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:8: error: could not build C module 'CSystemd'
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:8: error: could not build C module 'CSystemd'
import CSystemd
       ^
error: fatalError
[6/16] Emitting module UnixSignals
BUILD FAILURE 5.10 linux

Build Machine: Linux 2