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-4606859-1":/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: 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.8
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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2147] Fetching swift-service-lifecycle
[281/5324] Fetching swift-service-lifecycle, swift-log
[1073/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.36s)
Fetched https://github.com/apple/swift-async-algorithms (0.36s)
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.40s)
Fetched https://github.com/apple/swift-collections.git (0.97s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.34s)
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-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
Building for debugging...
[1/90] Emitting module DequeModule
[2/92] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[3/92] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[4/92] 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
       ^
[5/92] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[6/92] Compiling OrderedCollections _HashTable+Testing.swift
[7/92] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[8/92] Compiling OrderedCollections _HashTable.swift
[9/92] Compiling OrderedCollections _Hashtable+Header.swift
[10/92] Compiling OrderedCollections OrderedDictionary+Codable.swift
[11/92] Compiling OrderedCollections _HashTable+Bucket.swift
[12/92] Compiling OrderedCollections _HashTable+BucketIterator.swift
[13/92] Compiling OrderedCollections _HashTable+Constants.swift
[14/92] Compiling OrderedCollections OrderedSet+Initializers.swift
[15/92] Compiling OrderedCollections OrderedSet+Insertions.swift
[16/92] Compiling OrderedCollections OrderedSet+Invariants.swift
[17/92] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[18/92] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[19/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[20/92] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[21/92] Compiling OrderedCollections OrderedDictionary+Values.swift
[22/92] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[23/92] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[24/92] Compiling DequeModule _DequeSlot.swift
[25/92] Compiling DequeModule _UnsafeWrappedBuffer.swift
[26/98] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[27/98] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[28/98] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[29/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[30/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[31/99] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[32/99] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[33/99] Compiling OrderedCollections OrderedSet+Sendable.swift
[34/99] Compiling OrderedCollections OrderedSet+SubSequence.swift
[44/100] Emitting module OrderedCollections
[51/100] Wrapping AST for DequeModule for debugging
[53/100] Compiling ConcurrencyHelpers LockedValueBox.swift
[60/100] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[61/100] Compiling OrderedCollections OrderedDictionary+Elements.swift
[62/100] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[63/100] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[64/100] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[65/100] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[66/100] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[67/100] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[68/100] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[69/100] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[70/100] Compiling OrderedCollections OrderedSet+Diffing.swift
[71/100] Compiling OrderedCollections OrderedSet+Equatable.swift
[72/100] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[73/100] Compiling OrderedCollections OrderedSet+Hashable.swift
[74/106] Compiling _AsyncMergeSequence Rethrow.swift
[75/106] Compiling _AsyncMergeSequence MergeStateMachine.swift
[76/106] Compiling _AsyncMergeSequence AsyncMerge2Sequence.swift
[77/106] Compiling _AsyncMergeSequence MergeStorage.swift
[78/106] Compiling Logging Logging.swift
[79/106] Emitting module _AsyncMergeSequence
[80/106] Compiling _AsyncMergeSequence Locking.swift
[81/107] Compiling Logging LogHandler.swift
[82/107] Compiling Logging MetadataProvider.swift
[83/107] Emitting module Logging
[84/107] Compiling Logging Locks.swift
[85/108] Compiling OrderedCollections OrderedSet+Testing.swift
[86/108] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[87/108] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[88/108] Compiling OrderedCollections OrderedSet.swift
[89/108] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[90/108] Compiling OrderedCollections _UnsafeBitset.swift
[92/109] Emitting module ConcurrencyHelpers
[93/109] Compiling ConcurrencyHelpers Lock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/114] 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
       ^
[102/114] 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
       ^
[102/114] Wrapping AST for _AsyncMergeSequence for debugging
[103/114] Wrapping AST for Logging for debugging
[104/114] Wrapping AST for ConcurrencyHelpers for debugging
[105/114] Wrapping AST for OrderedCollections for debugging
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1715066885, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1715066885, nanoseconds: 76547000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UnixSignals.build/master.priors'
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1715066885, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1715066885, nanoseconds: 79500000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Collections.build/master.priors'
[1/16] Emitting module Collections
[2/16] Compiling Collections Collections.swift
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:8: error: could not build C module 'CSystemd'
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: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
       ^
[6/17] Compiling UnixSignals UnixSignal.swift
[7/17] Compiling UnixSignals UnixSignalsSequence.swift
[8/17] Emitting module UnixSignals
BUILD FAILURE 5.8 linux

Build Machine: Linux 1