Build Information
Successful build of swift-systemd, reference 0.4.0 (f95c2d), with Swift 6.0 for Linux on 23 Apr 2026 17:20:00 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xtremekforever/swift-systemd.git
Reference: 0.4.0
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.4.0 -> FETCH_HEAD
HEAD is now at f95c2d0 API for starting/stopping systemd services
Cloned https://github.com/xtremekforever/swift-systemd.git
Revision (git rev-parse @):
f95c2d07f84cd797eef61c959893b19939a83082
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xtremekforever/swift-systemd.git at 0.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/xtremekforever/swift-systemd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-system
[1/2745] Fetching swift-service-lifecycle
[1429/5022] Fetching swift-service-lifecycle, swift-docc-plugin
[2155/22486] Fetching swift-service-lifecycle, swift-docc-plugin, swift-argument-parser
[3498/28087] Fetching swift-service-lifecycle, swift-docc-plugin, swift-argument-parser, swift-system
[4247/34736] Fetching swift-service-lifecycle, swift-docc-plugin, swift-argument-parser, swift-system, swift-log
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.06s)
[11959/31991] Fetching swift-docc-plugin, swift-argument-parser, swift-system, swift-log
Fetched https://github.com/apple/swift-system from cache (1.71s)
[22723/26390] Fetching swift-docc-plugin, swift-argument-parser, swift-log
[25518/32637] Fetching swift-docc-plugin, swift-argument-parser, swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-log from cache (1.91s)
[21428/25988] Fetching swift-docc-plugin, swift-argument-parser, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (1.40s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.84s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.60s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (1.77s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.70s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3674] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.73s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (1.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.98s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.49s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (1.55s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.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.11.0
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin Swift-DocC Preview
Building for debugging...
[4/46] Write sources
[21/46] Compiling CSystem shims.c
[21/46] Write swift-version-24593BA9C3E375BF.txt
[24/106] Compiling ConcurrencyHelpers LockedValueBox.swift
[25/106] Compiling SystemPackage FileOperations.swift
[26/106] Compiling SystemPackage FilePathWindows.swift
[27/106] Compiling SystemPackage IORequest.swift
[28/106] Compiling SystemPackage IORing.swift
[29/108] Emitting module InternalCollectionsUtilities
[30/108] Compiling SystemPackage FilePath.swift
[31/108] Compiling SystemPackage FilePathComponentView.swift
[32/108] Compiling SystemPackage FilePathComponents.swift
[33/108] Compiling SystemPackage FilePermissions.swift
[34/108] Compiling SystemPackage IOCompletion.swift
[35/108] Compiling SystemPackage RawIORequest.swift
[36/108] Compiling SystemPackage Backcompat.swift
[37/108] Compiling SystemPackage ErrnoWindows.swift
[38/108] Compiling SystemPackage FileDescriptor.swift
[39/108] Compiling SystemPackage FileHelpers.swift
[43/108] Compiling SystemPackage FilePathParsing.swift
[44/108] Compiling SystemPackage FilePathString.swift
[47/112] Compiling SystemPackage Errno.swift
[48/112] Compiling InternalCollectionsUtilities _SortedCollection.swift
[49/112] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[50/112] Emitting module SystemPackage
[56/113] Wrapping AST for InternalCollectionsUtilities for debugging
[58/146] Compiling ContainersPreview Drain+Reduce.swift
[59/146] Compiling ContainersPreview Drain.swift
[60/146] Compiling ContainersPreview Producer+Collect.swift
[61/146] Compiling ContainersPreview Producer+Filter.swift
[62/194] Emitting module ContainersPreview
[63/194] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[64/194] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/194] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[66/194] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[67/205] Compiling ArgumentParserToolInfo ToolInfo.swift
[68/205] Emitting module ArgumentParserToolInfo
[69/206] Compiling OrderedCollections _HashTable+Constants.swift
[70/206] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[71/206] Compiling OrderedCollections _HashTable+Testing.swift
[72/206] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[73/206] Compiling OrderedCollections _HashTable.swift
[74/206] Compiling OrderedCollections OrderedSet+Diffing.swift
[75/206] Compiling OrderedCollections OrderedSet+Equatable.swift
[76/206] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[77/206] Compiling OrderedCollections OrderedSet+Hashable.swift
[78/206] Compiling OrderedCollections _Hashtable+Header.swift
[79/206] Compiling OrderedCollections OrderedDictionary+Codable.swift
[80/206] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[81/206] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[82/206] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[83/206] Compiling OrderedCollections OrderedSet+Initializers.swift
[84/206] Compiling OrderedCollections OrderedSet+Insertions.swift
[85/206] Compiling OrderedCollections OrderedSet+Invariants.swift
[86/206] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[87/206] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[88/206] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[89/206] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[90/206] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[91/206] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[92/206] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[93/206] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[94/206] Compiling OrderedCollections OrderedDictionary+Values.swift
[95/206] Compiling OrderedCollections _HashTable+Bucket.swift
[96/206] Compiling OrderedCollections _HashTable+BucketIterator.swift
[99/207] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[100/207] Compiling OrderedCollections OrderedSet+Descriptions.swift
[105/207] Compiling OrderedCollections OrderedDictionary.swift
[106/207] Compiling OrderedCollections OrderedSet+Codable.swift
[107/207] Emitting module Logging
[108/207] Compiling Logging MetadataProvider.swift
[109/207] Emitting module ConcurrencyHelpers
[110/207] Compiling ConcurrencyHelpers Lock.swift
[123/208] Wrapping AST for ArgumentParserToolInfo for debugging
[124/208] Wrapping AST for ContainersPreview for debugging
[129/208] Wrapping AST for ConcurrencyHelpers for debugging
[132/298] Compiling ArgumentParser Mutex.swift
[133/298] Compiling ArgumentParser Platform.swift
[134/298] Compiling ArgumentParser SequenceExtensions.swift
[135/298] Compiling ArgumentParser StringExtensions.swift
[136/298] Compiling ArgumentParser SwiftExtensions.swift
[137/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[138/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[139/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[140/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[141/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[142/303] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[143/303] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[144/303] Compiling DequeModule UniqueDeque.swift
[145/303] Compiling DequeModule _DequeSlot.swift
[146/303] Compiling DequeModule _UnsafeDequeHandle.swift
[147/303] Compiling DequeModule _UnsafeDequeSegments.swift
[148/303] Compiling ArgumentParser CollectionExtensions.swift
[149/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[150/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[151/310] Compiling ArgumentParser Parsed.swift
[152/310] Compiling ArgumentParser ParsedValues.swift
[153/310] Compiling ArgumentParser ParserError.swift
[154/310] Compiling ArgumentParser SplitArguments.swift
[155/310] Compiling ArgumentParser Foundation.swift
[156/310] Compiling ArgumentParser EnumerableFlag.swift
[157/310] Compiling ArgumentParser ExpressibleByArgument.swift
[158/310] Compiling ArgumentParser ParsableArguments.swift
[159/310] Compiling ArgumentParser InputOrigin.swift
[160/310] Compiling ArgumentParser Name.swift
[163/310] Wrapping AST for SystemPackage for debugging
[165/310] Compiling ArgumentParser CommandGroup.swift
[171/310] Compiling ArgumentParser ArgumentDiscussion.swift
[172/310] Compiling ArgumentParser ArgumentHelp.swift
[173/310] Compiling ArgumentParser ParentCommand.swift
[174/310] Compiling ArgumentParser AsyncParsableCommand.swift
[175/310] Compiling ArgumentParser CommandConfiguration.swift
[176/310] Compiling ArgumentParser OptionGroup.swift
[177/310] Compiling ArgumentParser BashCompletionsGenerator.swift
[178/310] Compiling ArgumentParser CompletionsGenerator.swift
[179/310] Compiling ArgumentParser FishCompletionsGenerator.swift
[180/310] Compiling ArgumentParser ZshCompletionsGenerator.swift
[181/310] Compiling ArgumentParser Argument.swift
[182/310] Emitting module UnixSignals
[183/310] Compiling Logging LogHandler.swift
[184/310] Compiling Logging LogEvent.swift
[185/310] Compiling Logging Logging.swift
[186/310] Compiling Logging Locks.swift
[187/310] Compiling ArgumentParser ParsableCommand.swift
[188/310] Compiling ArgumentParser ArgumentDecoder.swift
[189/310] Compiling ArgumentParser ArgumentDefinition.swift
[190/310] Compiling ArgumentParser ArgumentSet.swift
[191/310] Compiling ArgumentParser CommandParser.swift
[192/310] Compiling ArgumentParser InputKey.swift
[193/310] Compiling ArgumentParser ArgumentVisibility.swift
[194/310] Compiling ArgumentParser CompletionKind.swift
[210/311] Compiling DequeModule UniqueDeque+Replacements.swift
[212/311] Compiling UnixSignals UnixSignal.swift
[213/311] Compiling UnixSignals UnixSignalsSequence.swift
[213/312] Wrapping AST for Logging for debugging
[215/323] Wrapping AST for UnixSignals for debugging
[217/323] Compiling Systemd SystemdBus+ServiceControl.swift
[218/323] Compiling Systemd SystemdBus.swift
[219/323] Compiling Systemd SystemdBusError.swift
[220/323] Compiling Systemd SystemdMessage.swift
[221/323] Compiling Systemd SystemdTypes.swift
[222/323] Compiling Systemd LoggerLevel+syslogPriority.swift
[223/323] Compiling ArgumentParser Errors.swift
[224/323] Compiling ArgumentParser Flag.swift
[225/323] Compiling ArgumentParser NameSpecification.swift
[226/323] Compiling ArgumentParser Option.swift
[237/323] Compiling OrderedCollections OrderedSet+Sendable.swift
[238/323] Compiling OrderedCollections OrderedSet+SubSequence.swift
[239/323] Compiling OrderedCollections OrderedSet+Testing.swift
[240/323] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[241/323] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[242/323] Compiling OrderedCollections OrderedSet.swift
[243/323] Compiling OrderedCollections _UnsafeBitset.swift
[244/323] Emitting module OrderedCollections
[245/324] Compiling Systemd String+trimmingCharacters.swift
[252/325] Compiling Systemd GLibcUtils.swift
[253/325] Compiling Systemd SystemdNotifier.swift
[254/325] Compiling Systemd SystemdJournal.swift
/host/spi-builder-workspace/Sources/Systemd/SystemdJournal.swift:7:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | #endif
6 |
7 | public struct SystemdJournalLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
8 | public var logLevel: Logger.Level = .info
9 | public var metadataProvider: Logger.MetadataProvider?
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[254/325] Wrapping AST for OrderedCollections for debugging
[256/325] Emitting module DequeModule
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:22:34: warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
20 | }
21 |
22 | return try .init(bus: sd)
| `- warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
23 | }
24 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:34:34: warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
32 | }
33 |
34 | return try .init(bus: sd)
| `- warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
35 | }
36 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:61:31: warning: actor-isolated property '_bus' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
7 | private typealias Continuation = CheckedContinuation<SystemdMessage, Error>
8 |
9 | private let _bus: OpaquePointer
| `- note: property declared here
10 | private var _continuations = [UInt64: Continuation]()
11 | private var _readSource: DispatchSourceRead?
:
59 |
60 | let fd = try throwingSystemdBusError {
61 | sd_bus_get_fd(_bus)
| `- warning: actor-isolated property '_bus' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | }
63 |
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:64:20: warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 |
38 | private var events: CInt {
| `- note: property declared here
39 | get throws {
40 | try throwingSystemdBusError {
:
62 | }
63 |
64 | if try events & POLLIN != 0 {
| `- warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | let readSource = DispatchSource.makeReadSource(fileDescriptor: fd)
66 | readSource.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:73:20: warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 |
38 | private var events: CInt {
| `- note: property declared here
39 | get throws {
40 | try throwingSystemdBusError {
:
71 | }
72 |
73 | if try events & POLLOUT != 0 {
| `- warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | let writeSource = DispatchSource.makeWriteSource(fileDescriptor: fd)
75 | writeSource.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:208:13: warning: actor-isolated instance method '_cancelAll()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | }
107 |
108 | private func _cancelAll() {
| `- note: calls to instance method '_cancelAll()' from outside of its actor context are implicitly asynchronous
109 | for continuation in _continuations.values {
110 | continuation.resume(throwing: CancellationError())
:
206 |
207 | deinit {
208 | _cancelAll()
| `- warning: actor-isolated instance method '_cancelAll()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 | _readSource?.cancel()
210 | _writeSource?.cancel()
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:69:29: warning: cannot access property '_readSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
64 | if try events & POLLIN != 0 {
65 | let readSource = DispatchSource.makeReadSource(fileDescriptor: fd)
66 | readSource.setEventHandler { [weak self] in
| `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from this init
67 | self?._processAll()
68 | }
69 | _readSource = readSource
| `- warning: cannot access property '_readSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
70 | readSource.resume()
71 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:78:30: warning: cannot access property '_writeSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
73 | if try events & POLLOUT != 0 {
74 | let writeSource = DispatchSource.makeWriteSource(fileDescriptor: fd)
75 | writeSource.setEventHandler { [weak self] in
| `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from this init
76 | self?._processAll()
77 | }
78 | _writeSource = writeSource
| `- warning: cannot access property '_writeSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
79 | writeSource.resume()
80 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:22:34: warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
20 | }
21 |
22 | return try .init(bus: sd)
| `- warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
23 | }
24 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:34:34: warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
32 | }
33 |
34 | return try .init(bus: sd)
| `- warning: passing argument of non-sendable type 'OpaquePointer' into actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
35 | }
36 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:61:31: warning: actor-isolated property '_bus' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
7 | private typealias Continuation = CheckedContinuation<SystemdMessage, Error>
8 |
9 | private let _bus: OpaquePointer
| `- note: property declared here
10 | private var _continuations = [UInt64: Continuation]()
11 | private var _readSource: DispatchSourceRead?
:
59 |
60 | let fd = try throwingSystemdBusError {
61 | sd_bus_get_fd(_bus)
| `- warning: actor-isolated property '_bus' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | }
63 |
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:64:20: warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 |
38 | private var events: CInt {
| `- note: property declared here
39 | get throws {
40 | try throwingSystemdBusError {
:
62 | }
63 |
64 | if try events & POLLIN != 0 {
| `- warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | let readSource = DispatchSource.makeReadSource(fileDescriptor: fd)
66 | readSource.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:73:20: warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 |
38 | private var events: CInt {
| `- note: property declared here
39 | get throws {
40 | try throwingSystemdBusError {
:
71 | }
72 |
73 | if try events & POLLOUT != 0 {
| `- warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | let writeSource = DispatchSource.makeWriteSource(fileDescriptor: fd)
75 | writeSource.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:208:13: warning: actor-isolated instance method '_cancelAll()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 | }
107 |
108 | private func _cancelAll() {
| `- note: calls to instance method '_cancelAll()' from outside of its actor context are implicitly asynchronous
109 | for continuation in _continuations.values {
110 | continuation.resume(throwing: CancellationError())
:
206 |
207 | deinit {
208 | _cancelAll()
| `- warning: actor-isolated instance method '_cancelAll()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 | _readSource?.cancel()
210 | _writeSource?.cancel()
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:69:29: warning: cannot access property '_readSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
64 | if try events & POLLIN != 0 {
65 | let readSource = DispatchSource.makeReadSource(fileDescriptor: fd)
66 | readSource.setEventHandler { [weak self] in
| `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from this init
67 | self?._processAll()
68 | }
69 | _readSource = readSource
| `- warning: cannot access property '_readSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
70 | readSource.resume()
71 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:78:30: warning: cannot access property '_writeSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
73 | if try events & POLLOUT != 0 {
74 | let writeSource = DispatchSource.makeWriteSource(fileDescriptor: fd)
75 | writeSource.setEventHandler { [weak self] in
| `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from this init
76 | self?._processAll()
77 | }
78 | _writeSource = writeSource
| `- warning: cannot access property '_writeSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
79 | writeSource.resume()
80 | }
[260/326] Emitting module Systemd
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:61:31: warning: actor-isolated property '_bus' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
7 | private typealias Continuation = CheckedContinuation<SystemdMessage, Error>
8 |
9 | private let _bus: OpaquePointer
| `- note: property declared here
10 | private var _continuations = [UInt64: Continuation]()
11 | private var _readSource: DispatchSourceRead?
:
59 |
60 | let fd = try throwingSystemdBusError {
61 | sd_bus_get_fd(_bus)
| `- warning: actor-isolated property '_bus' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | }
63 |
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:64:20: warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 |
38 | private var events: CInt {
| `- note: property declared here
39 | get throws {
40 | try throwingSystemdBusError {
:
62 | }
63 |
64 | if try events & POLLIN != 0 {
| `- warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | let readSource = DispatchSource.makeReadSource(fileDescriptor: fd)
66 | readSource.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:73:20: warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 |
38 | private var events: CInt {
| `- note: property declared here
39 | get throws {
40 | try throwingSystemdBusError {
:
71 | }
72 |
73 | if try events & POLLOUT != 0 {
| `- warning: actor-isolated property 'events' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | let writeSource = DispatchSource.makeWriteSource(fileDescriptor: fd)
75 | writeSource.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/Systemd/SystemdJournal.swift:7:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | #endif
6 |
7 | public struct SystemdJournalLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
8 | public var logLevel: Logger.Level = .info
9 | public var metadataProvider: Logger.MetadataProvider?
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:69:29: warning: cannot access property '_readSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
64 | if try events & POLLIN != 0 {
65 | let readSource = DispatchSource.makeReadSource(fileDescriptor: fd)
66 | readSource.setEventHandler { [weak self] in
| `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from this init
67 | self?._processAll()
68 | }
69 | _readSource = readSource
| `- warning: cannot access property '_readSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
70 | readSource.resume()
71 | }
/host/spi-builder-workspace/Sources/Systemd/Bus/SystemdBus.swift:78:30: warning: cannot access property '_writeSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
73 | if try events & POLLOUT != 0 {
74 | let writeSource = DispatchSource.makeWriteSource(fileDescriptor: fd)
75 | writeSource.setEventHandler { [weak self] in
| `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from this init
76 | self?._processAll()
77 | }
78 | _writeSource = writeSource
| `- warning: cannot access property '_writeSource' here in nonisolated initializer; this is an error in the Swift 6 language mode
79 | writeSource.resume()
80 | }
[261/326] Compiling Systemd SystemdHelpers.swift
[265/327] Wrapping AST for DequeModule for debugging
[268/356] Emitting module ArgumentParser
[269/386] Compiling AsyncAlgorithms MergeStateMachine.swift
[270/386] Compiling AsyncAlgorithms MergeStorage.swift
[271/386] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[272/386] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[273/386] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[274/386] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[274/386] Wrapping AST for Systemd for debugging
[276/388] Compiling ExampleHostTool main.swift
[277/388] Emitting module ExampleHostTool
[278/389] Wrapping AST for ExampleHostTool for debugging
[279/389] Write Objects.LinkFileList
[281/389] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[282/389] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[283/389] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[284/389] Compiling AsyncAlgorithms Disconnected.swift
[285/389] Compiling AsyncAlgorithms _TinyArray.swift
[286/389] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[287/389] Emitting module AsyncAlgorithms
[287/396] Linking ExampleHostTool
[289/396] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[290/396] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[291/396] Compiling AsyncAlgorithms AsyncChannel.swift
[292/396] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[293/396] Compiling AsyncAlgorithms ChannelStateMachine.swift
[294/396] Compiling AsyncAlgorithms ChannelStorage.swift
[295/396] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[296/396] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[297/396] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[309/396] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[310/396] Compiling AsyncAlgorithms CombineLatestStorage.swift
[311/396] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[312/396] Compiling AsyncAlgorithms DebounceStateMachine.swift
[313/396] Compiling AsyncAlgorithms DebounceStorage.swift
[314/396] Compiling AsyncAlgorithms Dictionary.swift
[315/396] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[316/396] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[317/396] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[318/396] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[322/396] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[323/396] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[324/396] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[325/396] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[330/396] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[331/396] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[332/396] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[333/396] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[334/396] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[335/396] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[336/396] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[337/396] Compiling AsyncAlgorithms AsyncShareSequence.swift
[338/396] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[339/396] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[340/396] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[341/396] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[342/396] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[343/396] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[344/396] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[345/396] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[352/396] Compiling AsyncAlgorithms Locking.swift
[373/397] Wrapping AST for ArgumentParser for debugging
[375/397] Compiling AsyncAlgorithms Rethrow.swift
[376/397] Compiling AsyncAlgorithms SetAlgebra.swift
[377/397] Compiling AsyncAlgorithms UnsafeTransfer.swift
[378/397] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[379/397] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[380/397] Compiling AsyncAlgorithms ZipStateMachine.swift
[381/397] Compiling AsyncAlgorithms ZipStorage.swift
[389/400] Wrapping AST for AsyncAlgorithms for debugging
[391/409] Emitting module ExampleServiceControl
/host/spi-builder-workspace/Sources/ExampleServiceControl/main.swift:6:1: warning: extension declares a conformance of imported type 'JobMode' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'Systemd' introduce this conformance in the future
4 | import Systemd
5 |
6 | extension SystemdBus.JobMode: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'JobMode' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'Systemd' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | @main
[392/409] Compiling ExampleServiceControl main.swift
/host/spi-builder-workspace/Sources/ExampleServiceControl/main.swift:6:1: warning: extension declares a conformance of imported type 'JobMode' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'Systemd' introduce this conformance in the future
4 | import Systemd
5 |
6 | extension SystemdBus.JobMode: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'JobMode' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'Systemd' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | @main
[394/410] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[395/411] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[396/411] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[397/411] Emitting module ServiceLifecycle
[397/411] Wrapping AST for ExampleServiceControl for debugging
[398/411] Write Objects.LinkFileList
[400/411] Compiling ServiceLifecycle CancellationWaiter.swift
[401/411] Compiling ServiceLifecycle ClosureService.swift
[402/411] Compiling ServiceLifecycle GracefulShutdown.swift
[403/411] Compiling ServiceLifecycle ServiceRunnerError.swift
[403/411] Linking ExampleServiceControl
[405/411] Compiling ServiceLifecycle Service.swift
[406/411] Compiling ServiceLifecycle ServiceGroup.swift
[407/412] Wrapping AST for ServiceLifecycle for debugging
[409/414] Emitting module SystemdLifecycle
[410/414] Compiling SystemdLifecycle SystemdService.swift
[411/415] Wrapping AST for SystemdLifecycle for debugging
[413/417] Emitting module ExampleService
[414/417] Compiling ExampleService main.swift
[415/418] Wrapping AST for ExampleService for debugging
[416/418] Write Objects.LinkFileList
[417/418] Linking ExampleService
Build complete! (136.44s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
}
],
"manifest_display_name" : "swift-systemd",
"name" : "swift-systemd",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Systemd",
"targets" : [
"Systemd"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SystemdLifecycle",
"targets" : [
"SystemdLifecycle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ExampleServiceControl",
"targets" : [
"ExampleServiceControl"
],
"type" : {
"executable" : null
}
},
{
"name" : "ExampleService",
"targets" : [
"ExampleService"
],
"type" : {
"executable" : null
}
},
{
"name" : "ExampleHostTool",
"targets" : [
"ExampleHostTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SystemdLifecycle",
"module_type" : "SwiftTarget",
"name" : "SystemdLifecycle",
"path" : "Sources/SystemdLifecycle",
"product_dependencies" : [
"AsyncAlgorithms",
"ServiceLifecycle"
],
"product_memberships" : [
"SystemdLifecycle",
"ExampleService"
],
"sources" : [
"SystemdService.swift"
],
"target_dependencies" : [
"Systemd"
],
"type" : "library"
},
{
"c99name" : "Systemd",
"module_type" : "SwiftTarget",
"name" : "Systemd",
"path" : "Sources/Systemd",
"product_dependencies" : [
"Logging",
"SystemPackage"
],
"product_memberships" : [
"Systemd",
"SystemdLifecycle",
"ExampleServiceControl",
"ExampleService",
"ExampleHostTool"
],
"sources" : [
"Bus/SystemdBus+ServiceControl.swift",
"Bus/SystemdBus.swift",
"Bus/SystemdBusError.swift",
"Bus/SystemdMessage.swift",
"Bus/SystemdTypes.swift",
"Extensions/LoggerLevel+syslogPriority.swift",
"Extensions/String+trimmingCharacters.swift",
"SystemdHelpers.swift",
"SystemdJournal.swift",
"SystemdNotifier.swift",
"Utils/GLibcUtils.swift"
],
"target_dependencies" : [
"CSystemd"
],
"type" : "library"
},
{
"c99name" : "ExampleServiceControl",
"module_type" : "SwiftTarget",
"name" : "ExampleServiceControl",
"path" : "Sources/ExampleServiceControl",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"ExampleServiceControl"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Systemd"
],
"type" : "executable"
},
{
"c99name" : "ExampleService",
"module_type" : "SwiftTarget",
"name" : "ExampleService",
"path" : "Sources/ExampleService",
"product_memberships" : [
"ExampleService"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SystemdLifecycle"
],
"type" : "executable"
},
{
"c99name" : "ExampleHostTool",
"module_type" : "SwiftTarget",
"name" : "ExampleHostTool",
"path" : "Sources/ExampleHostTool",
"product_memberships" : [
"ExampleHostTool"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Systemd"
],
"type" : "executable"
},
{
"c99name" : "CSystemd",
"module_type" : "SystemLibraryTarget",
"name" : "CSystemd",
"path" : "Sources/CSystemd",
"product_memberships" : [
"Systemd",
"SystemdLifecycle",
"ExampleServiceControl",
"ExampleService",
"ExampleHostTool"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.7"
}
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.