Build Information
Failed to build sLaunchctl, reference 0.3.2 (3055d4
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 06:20:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alkenso/sLaunchctl.git
Reference: 0.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alkenso/sLaunchctl
* tag 0.3.2 -> FETCH_HEAD
HEAD is now at 3055d43 Bump min supported version to 10.15
Cloned https://github.com/Alkenso/sLaunchctl.git
Revision (git rev-parse @):
3055d43bd79ba34f013f0add76e0bee5b5a1acce
SUCCESS checkout https://github.com/Alkenso/sLaunchctl.git at 0.3.2
Fetching https://github.com/Alkenso/SwiftSpellbook.git
[1/3082] Fetching swiftspellbook
Fetched https://github.com/Alkenso/SwiftSpellbook.git from cache (1.05s)
Computing version for https://github.com/Alkenso/SwiftSpellbook.git
Computed https://github.com/Alkenso/SwiftSpellbook.git at 0.4.2 (0.64s)
Creating working copy for https://github.com/Alkenso/SwiftSpellbook.git
Working copy of https://github.com/Alkenso/SwiftSpellbook.git resolved at 0.4.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "slaunchctl",
"name": "sLaunchctl",
"url": "https://github.com/Alkenso/sLaunchctl.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sLaunchctl",
"dependencies": [
{
"identity": "swiftspellbook",
"name": "SwiftSpellbook",
"url": "https://github.com/Alkenso/SwiftSpellbook.git",
"version": "0.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSpellbook",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Alkenso/sLaunchctl.git
[1/150] Fetching slaunchctl
Fetched https://github.com/Alkenso/sLaunchctl.git from cache (0.67s)
Fetching https://github.com/Alkenso/SwiftSpellbook.git from cache
Fetched https://github.com/Alkenso/SwiftSpellbook.git from cache (0.49s)
Computing version for https://github.com/Alkenso/SwiftSpellbook.git
Computed https://github.com/Alkenso/SwiftSpellbook.git at 0.4.2 (0.03s)
Creating working copy for https://github.com/Alkenso/SwiftSpellbook.git
Working copy of https://github.com/Alkenso/SwiftSpellbook.git resolved at 0.4.2
Creating working copy for https://github.com/Alkenso/sLaunchctl.git
Working copy of https://github.com/Alkenso/sLaunchctl.git resolved at 0.3.2 (3055d43)
warning: '.resolve-product-dependencies': dependency 'slaunchctl' is not used by any target
Found 1 product dependencies
- SwiftSpellbook
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Alkenso/sLaunchctl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling SpellbookFoundationObjC SpellbookObjC.mm
[5/59] Emitting module SpellbookFoundation
[6/65] Compiling SpellbookFoundation SBUnit.swift
[7/65] Compiling SpellbookFoundation SpellbookLog.swift
[8/65] Compiling SpellbookFoundation Utils.swift
[9/65] Compiling SpellbookFoundation WildcardExpression.swift
[10/65] Compiling SpellbookFoundation DictionaryCodingKey.swift
[11/65] Compiling SpellbookFoundation DictionaryReader.swift
[12/65] Compiling SpellbookFoundation Unsafe.swift
[13/65] Compiling SpellbookFoundation Exceptions.swift
[14/65] Compiling SpellbookFoundation DeviceInfo.swift
[15/65] Compiling SpellbookFoundation Atomic.swift
[16/65] Compiling SpellbookFoundation BlockingQueue.swift
[17/65] Compiling SpellbookFoundation ConcurrentBlockOperation.swift
[18/65] Compiling SpellbookFoundation BinaryParsingError.swift
[19/65] Compiling SpellbookFoundation BinaryReader.swift
[20/65] Compiling SpellbookFoundation BinaryReaderInput.swift
[21/65] Compiling SpellbookFoundation BinaryWriter.swift
[22/65] Compiling SpellbookFoundation BinaryWriterOutput.swift
[23/65] Compiling SpellbookFoundation Extensions - Publisher.swift
[24/65] Compiling SpellbookFoundation Extensions - DispatchQueue.swift
[25/65] Compiling SpellbookFoundation Extensions - Locks.swift
[26/65] Compiling SpellbookFoundation Extensions - Task.swift
[27/65] Compiling SpellbookFoundation PosixLocks.swift
[28/65] Compiling SpellbookFoundation SynchronizationUtils.swift
[29/65] Compiling SpellbookFoundation Synchronized.swift
[30/65] Compiling SpellbookFoundation SynchronousExecutor.swift
[31/65] Compiling SpellbookFoundation Boxing.swift
[32/65] Compiling SpellbookFoundation Closure.swift
[33/65] Compiling SpellbookFoundation CommonError.swift
[34/65] Compiling SpellbookFoundation Refreshable.swift
[35/65] Compiling SpellbookFoundation Resource (RAII).swift
[36/65] Compiling SpellbookFoundation DictionaryWriter.swift
[37/65] Compiling SpellbookFoundation Extensions - Bundle.swift
[38/65] Compiling SpellbookFoundation Extensions - FileManager.swift
[39/65] Compiling SpellbookFoundation FileEnumerator.swift
[40/65] Compiling SpellbookFoundation FileStore.swift
[41/65] Compiling SpellbookFoundation TemporaryDirectory.swift
[42/65] Compiling SpellbookFoundation Extensions - Comparable.swift
[43/65] Compiling SpellbookFoundation Extensions - Formatters.swift
[44/65] Compiling SpellbookFoundation Extensions - NSError.swift
[45/65] Compiling SpellbookFoundation Extensions - Other.swift
[46/65] Compiling SpellbookFoundation Extensions - StandardTypes.swift
[47/65] Compiling SpellbookFoundation ObjectBuilder.swift
[48/65] Compiling SpellbookFoundation Proxies.swift
[49/65] Compiling SpellbookFoundation Benchmark.swift
[50/65] Compiling SpellbookFoundation CancellationToken.swift
[51/65] Compiling SpellbookFoundation Environment.swift
[52/65] Compiling SpellbookFoundation Extensions - Codable.swift
[53/65] Compiling SpellbookFoundation Extensions - Collections.swift
[54/65] Compiling SpellbookFoundation Types.swift
[55/65] Compiling SpellbookFoundation EventAsk.swift
[56/65] Compiling SpellbookFoundation EventNotify.swift
[57/65] Compiling SpellbookFoundation Observable.swift
[58/65] Compiling SpellbookFoundation ValueObserving.swift
[59/65] Compiling SpellbookFoundation ValueStore.swift
[60/65] Compiling SpellbookFoundation Extensions - CoreGraphics.swift
[61/65] Compiling SpellbookFoundation AuditToken.swift
[62/65] Compiling SpellbookFoundation BridgedCEnum.swift
[63/65] Compiling SpellbookFoundation IOKitError.swift
[64/65] Compiling SpellbookFoundation Mach.swift
[65/65] Compiling SpellbookFoundation POD+Swift.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/71] Emitting module sLaunchctl
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:35:20: error: extra argument 'arguments' in call
33 | let (exitCode, stdout, stderr) = Process.launch(
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
35 | arguments: args
| `- error: extra argument 'arguments' in call
36 | )
37 | guard exitCode == 0 || exitCode == EINPROGRESS else {
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:34:15: error: cannot convert value of type 'URL' to expected argument type 'Process'
32 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
33 | let (exitCode, stdout, stderr) = Process.launch(
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
| `- error: cannot convert value of type 'URL' to expected argument type 'Process'
35 | arguments: args
36 | )
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:33:46: error: cannot convert value of type '() -> Void' to specified type '(_, _, _)'
31 |
32 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
33 | let (exitCode, stdout, stderr) = Process.launch(
| `- error: cannot convert value of type '() -> Void' to specified type '(_, _, _)'
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
35 | arguments: args
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:32:14: warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
| |- warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'runLaunchctlFn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'runLaunchctlFn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let (exitCode, stdout, stderr) = Process.launch(
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
[67/71] Compiling sLaunchctl Error.swift
[68/71] Compiling sLaunchctl OutputParser.swift
[69/71] Compiling sLaunchctl Launchctl.swift
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Launchctl.swift:34:46: error: cannot find 'UnixUser' in scope
32 |
33 | /// Launchctl instance for gui domain target of currently logged in user.
34 | public static func gui() -> Launchctl? { UnixUser.currentSession.flatMap { .gui($0.uid) } }
| `- error: cannot find 'UnixUser' in scope
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Launchctl.swift:34:81: error: cannot infer contextual base in reference to member 'gui'
32 |
33 | /// Launchctl instance for gui domain target of currently logged in user.
34 | public static func gui() -> Launchctl? { UnixUser.currentSession.flatMap { .gui($0.uid) } }
| `- error: cannot infer contextual base in reference to member 'gui'
35 | }
36 |
[70/71] Compiling sLaunchctl Service.swift
[71/71] Compiling sLaunchctl Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:35:20: error: extra argument 'arguments' in call
33 | let (exitCode, stdout, stderr) = Process.launch(
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
35 | arguments: args
| `- error: extra argument 'arguments' in call
36 | )
37 | guard exitCode == 0 || exitCode == EINPROGRESS else {
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:34:15: error: cannot convert value of type 'URL' to expected argument type 'Process'
32 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
33 | let (exitCode, stdout, stderr) = Process.launch(
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
| `- error: cannot convert value of type 'URL' to expected argument type 'Process'
35 | arguments: args
36 | )
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:33:46: error: cannot convert value of type '() -> Void' to specified type '(_, _, _)'
31 |
32 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
33 | let (exitCode, stdout, stderr) = Process.launch(
| `- error: cannot convert value of type '() -> Void' to specified type '(_, _, _)'
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
35 | arguments: args
/Users/admin/builder/spi-builder-workspace/Sources/sLaunchctl/Internals/Utils.swift:32:14: warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
| |- warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'runLaunchctlFn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'runLaunchctlFn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let (exitCode, stdout, stderr) = Process.launch(
34 | tool: URL(fileURLWithPath: "/bin/launchctl"),
BUILD FAILURE 6.0 macosSpm