Build Information
Successful build of Terminus, reference main (fd8396
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 23:41:25 UTC.
Swift 6 data race errors: 4
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/jbadger3/Terminus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jbadger3/Terminus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fd8396f remove redundant example from readme
Cloned https://github.com/jbadger3/Terminus.git
Revision (git rev-parse @):
fd8396f13fc9f4a0600b744ef0f526c3c02565cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jbadger3/Terminus.git at main
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
========================================
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": "terminus",
"name": "Terminus",
"url": "https://github.com/jbadger3/Terminus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Terminus",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/jbadger3/Terminus.git
[1/669] Fetching terminus
Fetched https://github.com/jbadger3/Terminus.git from cache (1.20s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/jbadger3/Terminus.git
Working copy of https://github.com/jbadger3/Terminus.git resolved at main (fd8396f)
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jbadger3/Terminus.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[5/10] Write TerminusTest-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/30] Emitting module ArgumentParserToolInfo
[9/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/69] Compiling ArgumentParser NameSpecification.swift
[11/69] Compiling ArgumentParser Option.swift
[12/69] Compiling ArgumentParser OptionGroup.swift
[13/69] Compiling ArgumentParser AsyncParsableCommand.swift
[14/73] Compiling ArgumentParser ArgumentHelp.swift
[15/73] Compiling ArgumentParser ArgumentVisibility.swift
[16/73] Compiling ArgumentParser CompletionKind.swift
[17/73] Compiling ArgumentParser Errors.swift
[18/73] Compiling ArgumentParser Flag.swift
[19/73] Compiling ArgumentParser ParsableArguments.swift
[20/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[21/73] Compiling ArgumentParser ParsableCommand.swift
[22/73] Compiling ArgumentParser ArgumentDecoder.swift
[23/73] Compiling ArgumentParser ArgumentDefinition.swift
[24/73] Compiling ArgumentParser ArgumentSet.swift
[25/73] Compiling ArgumentParser CommandParser.swift
[26/73] Compiling ArgumentParser InputKey.swift
[27/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/73] Compiling ArgumentParser CompletionsGenerator.swift
[29/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/73] Compiling ArgumentParser Argument.swift
[32/73] Emitting module ArgumentParser
[33/73] Compiling ArgumentParser Platform.swift
[34/73] Compiling ArgumentParser SequenceExtensions.swift
[35/73] Compiling ArgumentParser StringExtensions.swift
[36/73] Compiling ArgumentParser Tree.swift
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.Terminal, TerminalTextAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:124:30: warning: type 'Attribute' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | for run in attributedString.runs {
123 | let subString = String(attributedString[run.range].characters)
124 | let attributes = run.terminalTextAttributes ?? []
| `- warning: type 'Attribute' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
125 | write(subString, attributes: attributes)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Attribute.swift:7:13: note: consider making enum 'Attribute' conform to the 'Sendable' protocol
5 |
6 | ///Used to specify the appearance of characters on screen. Mutliple attributes can be combined for varying effects.
7 | public enum Attribute: ControlSequenceEmitting {
| `- note: consider making enum 'Attribute' conform to the 'Sendable' protocol
8 | case resetToDefault //CSI 0m
9 | case bold //CSI 1m
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.Terminal, TerminalTextAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:124:30: warning: type 'Attribute' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | for run in attributedString.runs {
123 | let subString = String(attributedString[run.range].characters)
124 | let attributes = run.terminalTextAttributes ?? []
| `- warning: type 'Attribute' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
125 | write(subString, attributes: attributes)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Attribute.swift:7:13: note: consider making enum 'Attribute' conform to the 'Sendable' protocol
5 |
6 | ///Used to specify the appearance of characters on screen. Mutliple attributes can be combined for varying effects.
7 | public enum Attribute: ControlSequenceEmitting {
| `- note: consider making enum 'Attribute' conform to the 'Sendable' protocol
8 | case resetToDefault //CSI 0m
9 | case bold //CSI 1m
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[45/74] Compiling Terminus LineEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
[48/74] Emitting module Terminus
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/UIControls/Menu.swift:24:23: warning: static property 'defaultItemColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public let itemAttributes: [Attribute]
23 | public let selectionAttributes: [Attribute]
24 | public static let defaultItemColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Silver)
| |- warning: static property 'defaultItemColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultItemColorPair' 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
25 | public static let defaultSelectionColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Grey46)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Color/ColorPair.swift:22:15: note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
20 | ```
21 | */
22 | public struct ColorPair: Equatable {
| `- note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
23 | public let foreground: Color
24 | public let background: Color
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/UIControls/Menu.swift:25:23: warning: static property 'defaultSelectionColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public let selectionAttributes: [Attribute]
24 | public static let defaultItemColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Silver)
25 | public static let defaultSelectionColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Grey46)
| |- warning: static property 'defaultSelectionColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultSelectionColorPair' 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
26 |
27 | var hidden: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Color/ColorPair.swift:22:15: note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
20 | ```
21 | */
22 | public struct ColorPair: Equatable {
| `- note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
23 | public let foreground: Color
24 | public let background: Color
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
[55/74] Compiling ArgumentParser InputOrigin.swift
[56/74] Compiling ArgumentParser Name.swift
[57/74] Compiling ArgumentParser Parsed.swift
[58/74] Compiling ArgumentParser ParsedValues.swift
[59/74] Compiling ArgumentParser CommandConfiguration.swift
[60/74] Compiling ArgumentParser CommandGroup.swift
[61/74] Compiling ArgumentParser EnumerableFlag.swift
[62/74] Compiling ArgumentParser ExpressibleByArgument.swift
[63/74] Compiling ArgumentParser ParserError.swift
[64/74] Compiling ArgumentParser SplitArguments.swift
[65/74] Compiling ArgumentParser DumpHelpGenerator.swift
[66/74] Compiling ArgumentParser HelpCommand.swift
[67/74] Compiling ArgumentParser HelpGenerator.swift
[68/74] Compiling ArgumentParser MessageInfo.swift
[69/74] Compiling ArgumentParser UsageGenerator.swift
[70/74] Compiling ArgumentParser CollectionExtensions.swift
[71/74] Compiling Terminus Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/UIControls/Menu.swift:24:23: warning: static property 'defaultItemColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public let itemAttributes: [Attribute]
23 | public let selectionAttributes: [Attribute]
24 | public static let defaultItemColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Silver)
| |- warning: static property 'defaultItemColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultItemColorPair' 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
25 | public static let defaultSelectionColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Grey46)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Color/ColorPair.swift:22:15: note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
20 | ```
21 | */
22 | public struct ColorPair: Equatable {
| `- note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
23 | public let foreground: Color
24 | public let background: Color
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/UIControls/Menu.swift:25:23: warning: static property 'defaultSelectionColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public let selectionAttributes: [Attribute]
24 | public static let defaultItemColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Silver)
25 | public static let defaultSelectionColorPair = ColorPair(foreground: XTermPalette().Black, background: XTermPalette().Grey46)
| |- warning: static property 'defaultSelectionColorPair' is not concurrency-safe because non-'Sendable' type 'ColorPair' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultSelectionColorPair' 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
26 |
27 | var hidden: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Color/ColorPair.swift:22:15: note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
20 | ```
21 | */
22 | public struct ColorPair: Equatable {
| `- note: consider making struct 'ColorPair' conform to the 'Sendable' protocol
23 | public let foreground: Color
24 | public let background: Color
/Users/admin/builder/spi-builder-workspace/Sources/Terminus/Core/Terminal.swift:8:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
4 | The starting point and primary means of interaction for a command line application.
5 | */
6 | public class Terminal {
| `- note: class 'Terminal' does not conform to the 'Sendable' protocol
7 | ///The shared singleton Terminal object.
8 | public static let shared = Terminal()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Terminal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 | ///The cursor associated with the terminal
10 | public let cursor = Cursor()
[72/83] Compiling TerminusTestApp TestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/TestLogger.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | class TestLogger {
11 | static var shared = TestLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
12 | var fileHandle: FileHandle?
13 |
[73/83] Emitting module TerminusTestApp
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/TestLogger.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | class TestLogger {
11 | static var shared = TestLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
12 | var fileHandle: FileHandle?
13 |
[74/83] Compiling TerminusTestApp TestAssertions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/TestLogger.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | class TestLogger {
11 | static var shared = TestLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
12 | var fileHandle: FileHandle?
13 |
[75/83] Compiling TerminusTestApp TestLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/TestLogger.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | class TestLogger {
11 | static var shared = TestLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
12 | var fileHandle: FileHandle?
13 |
[76/83] Compiling TerminusTestApp VisualTest.swift
[77/83] Compiling TerminusTestApp MenuTests.swift
[78/83] Compiling TerminusTestApp CursorTests.swift
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/Tests/CursorTests.swift:48:30: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | func saveCursorPosition() {
47 | var saveCS = Esc + "7"
48 | write(STDOUT_FILENO, &saveCS, saveCS.lengthOfBytes(using: .utf8))
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/Tests/CursorTests.swift:53:30: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
51 | func restoreCursorPosition() {
52 | var restoreCS = Esc + "8"
53 | write(STDOUT_FILENO, &restoreCS, restoreCS.lengthOfBytes(using: .utf8))
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/Tests/CursorTests.swift:59:31: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
57 | saveCursorPosition()
58 | var locationString = CSI + "3;2H"
59 | write(STDOUT_FILENO , &locationString, locationString.lengthOfBytes(using: .utf8))
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
60 | let expectedLocation = Location(x: 2, y: 3)
61 | let cursorLocation = sut.location
[79/83] Compiling TerminusTestApp TerminalTests.swift
[80/83] Compiling TerminusTestApp main.swift
/Users/admin/builder/spi-builder-workspace/Sources/TerminusTestApp/TestLogger.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | class TestLogger {
11 | static var shared = TestLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
12 | var fileHandle: FileHandle?
13 |
[80/83] Write Objects.LinkFileList
[81/83] Linking TerminusTest
[82/83] Applying TerminusTest
Build complete! (17.66s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "Terminus",
"name" : "Terminus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Terminus",
"targets" : [
"Terminus"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TerminusTest",
"targets" : [
"TerminusTestApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TerminusTests",
"module_type" : "SwiftTarget",
"name" : "TerminusTests",
"path" : "Tests/TerminusTests",
"sources" : [
"CursorTests.swift",
"MockTerminalIO.swift",
"TerminalTests.swift",
"TermiosTests.swift"
],
"target_dependencies" : [
"Terminus"
],
"type" : "test"
},
{
"c99name" : "TerminusTestApp",
"module_type" : "SwiftTarget",
"name" : "TerminusTestApp",
"path" : "Sources/TerminusTestApp",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"TerminusTest"
],
"sources" : [
"TestAssertions.swift",
"TestCase.swift",
"TestLogger.swift",
"Tests/CursorTests.swift",
"Tests/MenuTests.swift",
"Tests/TerminalTests.swift",
"VisualTest.swift",
"main.swift"
],
"target_dependencies" : [
"Terminus"
],
"type" : "executable"
},
{
"c99name" : "Terminus",
"module_type" : "SwiftTarget",
"name" : "Terminus",
"path" : "Sources/Terminus",
"product_memberships" : [
"Terminus",
"TerminusTest"
],
"sources" : [
"Core/ANSIEscapeCode.swift",
"Core/Attribute.swift",
"Core/AttributeScopes+Terminal.swift",
"Core/Color/Color.swift",
"Core/Color/ColorPair.swift",
"Core/Color/ColorPalette.swift",
"Core/Color/Palettes/BasicColorPalette.swift",
"Core/Color/Palettes/X11WebPalette.swift",
"Core/Color/Palettes/XTermPalette.swift",
"Core/Cursor.swift",
"Core/Key.swift",
"Core/KeyTypes.swift",
"Core/Location.swift",
"Core/String+strippingCSI.swift",
"Core/Terminal.swift",
"Core/Termios.swift",
"UIControls/LineEditor.swift",
"UIControls/Menu.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/jbadger3/terminus/main
Repository: jbadger3/Terminus
Swift version used: 6.0
Target: Terminus
Extracting symbol information for 'Terminus'...
Finished extracting symbol information for 'Terminus'. (3.54s)
Building documentation for 'Terminus'...
Finished building documentation for 'Terminus' (0.39s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/jbadger3/terminus/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser.git
Updated https://github.com/apple/swift-argument-parser.git (0.64s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.26s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.63s)
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit Identifier.swift
[18/57] Compiling SymbolKit KindIdentifier.swift
[19/57] Compiling SymbolKit Location.swift
[20/57] Compiling SymbolKit Mutability.swift
[21/57] Compiling SymbolKit SourceRange.swift
[22/57] Compiling SymbolKit Metadata.swift
[23/57] Compiling SymbolKit Module.swift
[24/57] Compiling SymbolKit OperatingSystem.swift
[25/57] Compiling SymbolKit Platform.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit DeclarationFragments.swift
[31/57] Compiling SymbolKit Fragment.swift
[32/57] Compiling SymbolKit FragmentKind.swift
[33/57] Compiling SymbolKit FunctionParameter.swift
[34/57] Compiling SymbolKit FunctionSignature.swift
[35/57] Compiling SymbolKit Relationship.swift
[36/57] Compiling SymbolKit RelationshipKind.swift
[37/57] Compiling SymbolKit SourceOrigin.swift
[38/57] Compiling SymbolKit GenericConstraints.swift
[39/57] Compiling SymbolKit Swift.swift
[40/57] Compiling SymbolKit Symbol.swift
[41/57] Compiling SymbolKit SymbolKind.swift
[42/57] Compiling SymbolKit SymbolGraph.swift
[43/57] Compiling SymbolKit GraphCollector.swift
[44/57] Compiling SymbolKit GenericConstraint.swift
[45/57] Compiling SymbolKit GenericParameter.swift
[46/57] Compiling SymbolKit Generics.swift
[47/57] Compiling SymbolKit Namespace.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.41s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/19] Compiling Terminus ColorPair.swift
[3/19] Compiling Terminus ColorPalette.swift
[4/20] Compiling Terminus Terminal.swift
[5/20] Compiling Terminus Termios.swift
[6/20] Compiling Terminus LineEditor.swift
[7/20] Compiling Terminus Location.swift
[8/20] Compiling Terminus String+strippingCSI.swift
[9/20] Compiling Terminus ANSIEscapeCode.swift
[10/20] Compiling Terminus Attribute.swift
[11/20] Compiling Terminus BasicColorPalette.swift
[12/20] Compiling Terminus X11WebPalette.swift
[13/20] Compiling Terminus Key.swift
[14/20] Compiling Terminus KeyTypes.swift
[15/20] Emitting module Terminus
[16/20] Compiling Terminus AttributeScopes+Terminal.swift
[17/20] Compiling Terminus Color.swift
[18/20] Compiling Terminus XTermPalette.swift
[19/20] Compiling Terminus Cursor.swift
[20/20] Compiling Terminus Menu.swift
Build of target: 'Terminus' complete! (1.32s)
1431
9 /Users/admin/builder/spi-builder-workspace/.docs/jbadger3/terminus/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/jbadger3/terminus/main
File count: 1431
Doc size: 9.0MB
Preparing doc bundle ...
Uploading prod-jbadger3-terminus-main-497656eb.zip to s3://spi-docs-inbox/prod-jbadger3-terminus-main-497656eb.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [40%]
Copying... [51%]
Copying... [62%]
Copying... [70%]
Copying... [81%]
Copying... [92%]
Copying... [100%]
Done.