Build Information
Failed to build sLaunchctl, reference 0.3.2 (3055d4
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 13:29:52 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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/3126] Fetching swiftspellbook
Fetched https://github.com/Alkenso/SwiftSpellbook.git from cache (1.00s)
Computing version for https://github.com/Alkenso/SwiftSpellbook.git
Computed https://github.com/Alkenso/SwiftSpellbook.git at 0.4.2 (0.57s)
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.66s)
Fetching https://github.com/Alkenso/SwiftSpellbook.git from cache
Fetched https://github.com/Alkenso/SwiftSpellbook.git from cache (0.43s)
Computing version for https://github.com/Alkenso/SwiftSpellbook.git
Computed https://github.com/Alkenso/SwiftSpellbook.git at 0.4.2 (0.02s)
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
{
"dependencies" : [
{
"identity" : "swiftspellbook",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alkenso/SwiftSpellbook.git"
}
],
"manifest_display_name" : "sLaunchctl",
"name" : "sLaunchctl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "sLaunchctl",
"targets" : [
"sLaunchctl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "sLaunchctlTests",
"module_type" : "SwiftTarget",
"name" : "sLaunchctlTests",
"path" : "Tests/sLaunchctlTests",
"product_dependencies" : [
"SpellbookFoundation"
],
"sources" : [
"LaunchctlParsingTests.swift",
"LiveTesting.swift",
"ServiceParsingTests.swift"
],
"target_dependencies" : [
"sLaunchctl"
],
"type" : "test"
},
{
"c99name" : "sLaunchctl",
"module_type" : "SwiftTarget",
"name" : "sLaunchctl",
"path" : "Sources/sLaunchctl",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"sLaunchctl"
],
"sources" : [
"Internals/Error.swift",
"Internals/OutputParser.swift",
"Internals/Utils.swift",
"Launchctl.swift",
"Service.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
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 Extensions - DispatchQueue.swift
[7/65] Compiling SpellbookFoundation Extensions - Locks.swift
[8/65] Compiling SpellbookFoundation Extensions - Task.swift
[9/65] Compiling SpellbookFoundation PosixLocks.swift
[10/65] Compiling SpellbookFoundation SynchronizationUtils.swift
[11/65] Compiling SpellbookFoundation Synchronized.swift
[12/65] Compiling SpellbookFoundation SynchronousExecutor.swift
[13/65] Compiling SpellbookFoundation Boxing.swift
[14/65] Compiling SpellbookFoundation Closure.swift
[15/65] Compiling SpellbookFoundation CommonError.swift
[16/65] Compiling SpellbookFoundation Refreshable.swift
[17/65] Compiling SpellbookFoundation Resource (RAII).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 DictionaryWriter.swift
[25/65] Compiling SpellbookFoundation Extensions - Bundle.swift
[26/65] Compiling SpellbookFoundation Extensions - FileManager.swift
[27/65] Compiling SpellbookFoundation FileEnumerator.swift
[28/65] Compiling SpellbookFoundation FileStore.swift
[29/65] Compiling SpellbookFoundation TemporaryDirectory.swift
[30/65] Compiling SpellbookFoundation Unsafe.swift
[31/65] Compiling SpellbookFoundation Exceptions.swift
[32/65] Compiling SpellbookFoundation DeviceInfo.swift
[33/65] Compiling SpellbookFoundation Atomic.swift
[34/65] Compiling SpellbookFoundation BlockingQueue.swift
[35/65] Compiling SpellbookFoundation ConcurrentBlockOperation.swift
[36/65] Compiling SpellbookFoundation Extensions - Comparable.swift
[37/65] Compiling SpellbookFoundation Extensions - Formatters.swift
[38/65] Compiling SpellbookFoundation Extensions - NSError.swift
[39/65] Compiling SpellbookFoundation Extensions - Other.swift
[40/65] Compiling SpellbookFoundation Extensions - StandardTypes.swift
[41/65] Compiling SpellbookFoundation ObjectBuilder.swift
[42/65] Compiling SpellbookFoundation SBUnit.swift
[43/65] Compiling SpellbookFoundation SpellbookLog.swift
[44/65] Compiling SpellbookFoundation Utils.swift
[45/65] Compiling SpellbookFoundation WildcardExpression.swift
[46/65] Compiling SpellbookFoundation DictionaryCodingKey.swift
[47/65] Compiling SpellbookFoundation DictionaryReader.swift
[48/65] Compiling SpellbookFoundation Types.swift
[49/65] Compiling SpellbookFoundation EventAsk.swift
[50/65] Compiling SpellbookFoundation EventNotify.swift
[51/65] Compiling SpellbookFoundation Observable.swift
[52/65] Compiling SpellbookFoundation ValueObserving.swift
[53/65] Compiling SpellbookFoundation ValueStore.swift
[54/65] Compiling SpellbookFoundation Proxies.swift
[55/65] Compiling SpellbookFoundation Benchmark.swift
[56/65] Compiling SpellbookFoundation CancellationToken.swift
[57/65] Compiling SpellbookFoundation Environment.swift
[58/65] Compiling SpellbookFoundation Extensions - Codable.swift
[59/65] Compiling SpellbookFoundation Extensions - Collections.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] Compiling sLaunchctl OutputParser.swift
[67/71] Compiling sLaunchctl Error.swift
[68/71] Compiling sLaunchctl Service.swift
[69/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"),
[70/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 |
[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