Build Information
Failed to build CommandShell with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/CommandShell.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/CommandShell
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 63f783a Added better version output, and --about command.
Cloned https://github.com/elegantchaos/CommandShell.git
Revision (git rev-parse @):
63f783a6546fed0723b2eb8b8fa12e27277b0ea2
SUCCESS checkout https://github.com/elegantchaos/CommandShell.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/CommandShell.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[6/11] Write CommandShellExample-entitlement.plist
[7/11] Write swift-version-6F35C1178C84523A.txt
[9/25] Compiling SemanticVersion SemanticVersion.swift
[10/25] Emitting module SemanticVersion
[11/25] Emitting module ArgumentParserToolInfo
[12/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/60] Compiling ArgumentParser Parsed.swift
[14/60] Compiling ArgumentParser ParsedValues.swift
[15/60] Compiling ArgumentParser ParserError.swift
[16/60] Compiling ArgumentParser SplitArguments.swift
[17/63] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/63] Compiling ArgumentParser CompletionsGenerator.swift
[19/63] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/63] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/63] Emitting module ArgumentParser
[22/63] Compiling ArgumentParser ArgumentSet.swift
[23/63] Compiling ArgumentParser CommandParser.swift
[24/63] Compiling ArgumentParser InputOrigin.swift
[25/63] Compiling ArgumentParser Name.swift
[26/63] Compiling ArgumentParser SequenceExtensions.swift
[27/63] Compiling ArgumentParser StringExtensions.swift
[28/63] Compiling ArgumentParser Tree.swift
[29/63] Compiling ArgumentParser Flag.swift
[30/63] Compiling ArgumentParser NameSpecification.swift
[31/63] Compiling ArgumentParser Option.swift
[32/63] Compiling ArgumentParser OptionGroup.swift
[33/63] Compiling ArgumentParser CommandConfiguration.swift
[34/63] Compiling ArgumentParser EnumerableFlag.swift
[35/63] Compiling ArgumentParser ExpressibleByArgument.swift
[36/63] Compiling ArgumentParser ParsableArguments.swift
[37/63] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/63] Compiling ArgumentParser ParsableCommand.swift
[39/63] Compiling ArgumentParser ArgumentDecoder.swift
[40/63] Compiling ArgumentParser ArgumentDefinition.swift
[41/63] Compiling ArgumentParser DumpHelpGenerator.swift
[42/63] Compiling ArgumentParser HelpCommand.swift
[43/63] Compiling ArgumentParser HelpGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/63] Compiling Logger Context.swift
[45/63] Compiling Logger Channel.swift
[46/63] Emitting module Logger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:41:48: error: 'ID' is only available in macOS 10.15 or newer
21 | /// whether or not they should share a single settings object.
22 |
23 | public class Manager {
| `- note: add @available attribute to enclosing class
24 | typealias AssociatedChannelData = [Channel: Any]
25 | typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
:
39 | */
40 |
41 | let channelsEnabledInSettings: Set<Channel.ID>
| `- error: 'ID' is only available in macOS 10.15 or newer
42 |
43 | required init(settings: ManagerSettings) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/ManagerSettings.swift:15:40: error: 'ID' is only available in macOS 10.15 or newer
11 | /// inject settings during testing.
12 |
13 | public protocol ManagerSettings {
| `- note: add @available attribute to enclosing protocol
14 | /// The identifiers of the channels that should be enabled.
15 | var enabledChannelIDs: Set<Channel.ID> { get }
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
16 |
17 | /// Store the identifiers of the channels that should be enabled.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/ManagerSettings.swift:18:51: error: 'ID' is only available in macOS 10.15 or newer
11 | /// inject settings during testing.
12 |
13 | public protocol ManagerSettings {
| `- note: add @available attribute to enclosing protocol
14 | /// The identifiers of the channels that should be enabled.
15 | var enabledChannelIDs: Set<Channel.ID> { get }
16 |
17 | /// Store the identifiers of the channels that should be enabled.
18 | func saveEnabledChannelIDs(_ ids: Set<Channel.ID>)
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 |
20 | /// Strip any settings-related command line arguments.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:57:56: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:57:113: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:86:40: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
84 | }
85 |
86 | var enabledChannelIDs: Set<Channel.ID> {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
87 | let s = defaults.string(forKey: .persistentLogsKey)?.split(separator: ",").map { String($0) }
88 | return Set(s ?? [])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:91:51: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
89 | }
90 |
91 | func saveEnabledChannelIDs(_ ids: Set<Channel.ID>) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
92 | let sortedIDs = ids.sorted().joined(separator: ",")
93 | defaults.set(sortedIDs, forKey: .persistentLogsKey)
[47/63] Compiling Logger Manager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:41:48: error: 'ID' is only available in macOS 10.15 or newer
21 | /// whether or not they should share a single settings object.
22 |
23 | public class Manager {
| `- note: add @available attribute to enclosing class
24 | typealias AssociatedChannelData = [Channel: Any]
25 | typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
:
39 | */
40 |
41 | let channelsEnabledInSettings: Set<Channel.ID>
| `- error: 'ID' is only available in macOS 10.15 or newer
42 |
43 | required init(settings: ManagerSettings) {
[48/63] Compiling ArgumentParser Argument.swift
[49/63] Compiling ArgumentParser ArgumentHelp.swift
[50/63] Compiling ArgumentParser CompletionKind.swift
[51/63] Compiling ArgumentParser Errors.swift
[52/63] Compiling ArgumentParser MessageInfo.swift
[53/63] Compiling ArgumentParser UsageGenerator.swift
[54/63] Compiling ArgumentParser CollectionExtensions.swift
[55/63] Compiling Logger PrintHandler.swift
[56/63] Compiling Logger OSLogHandler.swift
[57/63] Compiling Logger NSLogHandler.swift
[58/63] Compiling Logger UserDefaultsManagerSettings.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:57:56: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:57:113: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:86:40: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
84 | }
85 |
86 | var enabledChannelIDs: Set<Channel.ID> {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
87 | let s = defaults.string(forKey: .persistentLogsKey)?.split(separator: ",").map { String($0) }
88 | return Set(s ?? [])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:91:51: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
89 | }
90 |
91 | func saveEnabledChannelIDs(_ ids: Set<Channel.ID>) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
92 | let sortedIDs = ids.sorted().joined(separator: ",")
93 | defaults.set(sortedIDs, forKey: .persistentLogsKey)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:60:36: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
60 | var newItems = Set<Channel.ID>()
| |- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | for item in modifiers.split(separator: ",").map({ $0.trimmingCharacters(in: .whitespaces) }) {
62 | if let first = item.first {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:65:49: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
:
63 | switch first {
64 | case "=":
65 | newItems.insert(Channel.ID(item.dropFirst()))
| |- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | onlyDeltas = false
67 | case "-":
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:68:56: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
:
66 | onlyDeltas = false
67 | case "-":
68 | updatedChannels.remove(Channel.ID(item.dropFirst()))
| |- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | case "+":
70 | newItems.insert(Channel.ID(item.dropFirst()))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:70:49: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
:
68 | updatedChannels.remove(Channel.ID(item.dropFirst()))
69 | case "+":
70 | newItems.insert(Channel.ID(item.dropFirst()))
| |- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | default:
72 | newItems.insert(Channel.ID(item))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/UserDefaultsManagerSettings.swift:72:49: error: 'ID' is only available in macOS 10.15 or newer
10 | /// settings, and in normal situations it should be all you need.
11 |
12 | struct UserDefaultsManagerSettings: ManagerSettings {
| `- note: add @available attribute to enclosing struct
13 | let defaults: UserDefaults
14 |
:
55 | */
56 |
57 | static func updateChannels(_ channels: Set<Channel.ID>, applyingModifiers modifiers: String) -> Set<Channel.ID> {
| `- note: add @available attribute to enclosing static method
58 | var updatedChannels = channels
59 | var onlyDeltas = true
:
70 | newItems.insert(Channel.ID(item.dropFirst()))
71 | default:
72 | newItems.insert(Channel.ID(item))
| |- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
[59/63] Compiling Logger Handler.swift
[60/63] Compiling Logger ManagerSettings.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/ManagerSettings.swift:15:40: error: 'ID' is only available in macOS 10.15 or newer
11 | /// inject settings during testing.
12 |
13 | public protocol ManagerSettings {
| `- note: add @available attribute to enclosing protocol
14 | /// The identifiers of the channels that should be enabled.
15 | var enabledChannelIDs: Set<Channel.ID> { get }
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
16 |
17 | /// Store the identifiers of the channels that should be enabled.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/ManagerSettings.swift:18:51: error: 'ID' is only available in macOS 10.15 or newer
11 | /// inject settings during testing.
12 |
13 | public protocol ManagerSettings {
| `- note: add @available attribute to enclosing protocol
14 | /// The identifiers of the channels that should be enabled.
15 | var enabledChannelIDs: Set<Channel.ID> { get }
16 |
17 | /// Store the identifiers of the channels that should be enabled.
18 | func saveEnabledChannelIDs(_ ids: Set<Channel.ID>)
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 |
20 | /// Strip any settings-related command line arguments.
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/Matchable.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[2/152] Fetching semanticversion
[111/717] Fetching semanticversion, xctestextensions
[174/2564] Fetching semanticversion, xctestextensions, logger
[211/2677] Fetching semanticversion, xctestextensions, logger, matchable
[1700/14356] Fetching semanticversion, xctestextensions, logger, matchable, swift-argument-parser
Fetched https://github.com/elegantchaos/Matchable.git from cache (1.05s)
[2798/14243] Fetching semanticversion, xctestextensions, logger, swift-argument-parser
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (1.58s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (1.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Fetched https://github.com/elegantchaos/Logger.git from cache (1.58s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.69s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.1 (0.67s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.0 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.72s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.70s)
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.0
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.9
BUILD FAILURE 6.0 macosSpm