Build Information
Successful build of Firefly, reference main (0235d2
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 23:12:36 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ActuallyTaylor/Firefly.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ActuallyTaylor/Firefly
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0235d2e Merge pull request #19 from ActuallyTaylor/ActuallyTaylor-patch-1
Cloned https://github.com/ActuallyTaylor/Firefly.git
Revision (git rev-parse @):
0235d2e82686a2db6acf5b00cbc8dc6331c97f03
SUCCESS checkout https://github.com/ActuallyTaylor/Firefly.git at main
========================================
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": "firefly",
"name": "Firefly",
"url": "https://github.com/ActuallyTaylor/Firefly.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Firefly",
"dependencies": [
]
}
]
}
Fetching https://github.com/ActuallyTaylor/Firefly.git
[1/1485] Fetching firefly
Fetched https://github.com/ActuallyTaylor/Firefly.git from cache (0.97s)
Creating working copy for https://github.com/ActuallyTaylor/Firefly.git
Working copy of https://github.com/ActuallyTaylor/Firefly.git resolved at main (0235d2e)
warning: '.resolve-product-dependencies': dependency 'firefly' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ActuallyTaylor/Firefly.git
https://github.com/ActuallyTaylor/Firefly.git
{
"dependencies" : [
],
"manifest_display_name" : "Firefly",
"name" : "Firefly",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Firefly",
"targets" : [
"Firefly"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FireflyTests",
"module_type" : "SwiftTarget",
"name" : "FireflyTests",
"path" : "Tests",
"sources" : [
"FireflyTests/FireflyTextViewTests.swift"
],
"target_dependencies" : [
"Firefly"
],
"type" : "test"
},
{
"c99name" : "Firefly",
"module_type" : "SwiftTarget",
"name" : "Firefly",
"path" : "Sources",
"product_memberships" : [
"Firefly"
],
"sources" : [
"Extensions/AttributedType.swift",
"Extensions/Comparable + Clamped.swift",
"Extensions/Dispatch.swift",
"Extensions/NSTextView + Bounding Rect.swift",
"Extensions/Range+Encompasses.swift",
"Extensions/Safe Array.swift",
"Extensions/String+NSRange.swift",
"Extensions/UIColor+HexInit.swift",
"Highlighter/Data/Languages.swift",
"Highlighter/Data/Themes.swift",
"Highlighter/Markdown.swift",
"Highlighter/Syntax/Definition.swift",
"Highlighter/Syntax/Syntax.swift",
"Highlighter/Syntax/Theme.swift",
"Highlighter/SyntaxAttributedString.swift",
"Highlighter/Tokens/Token.swift",
"Utility/KeyCommand.swift",
"Views/FireflySyntaxView + TextDelegate.swift",
"Views/FireflySyntaxView.swift",
"Views/FireflyTextView.swift",
"Views/FireflyTextViewDelegate.swift",
"Views/Line Numbers/LineNumberLayoutManager.swift",
"Views/Line Numbers/LineNumberRulerView.swift",
"Views/Swift UI/FireflySyntaxEditor.swift",
"Views/UIAppKitBirdge.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/26] Emitting module Firefly
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:10:5: warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 | //TODO: if( is matched as a function not a keyword. Figure out a system to match if as a keyword not a function
10 | let languages: [String: [String: Any]] = [
| |- warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'languages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | "default": [:],
12 | "jelly": jellyLanguage,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:16:5: warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | ]
15 |
16 | let defaultLanguage: [String: Any] = [
| |- warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | "string": [
18 | "regex": #"(?<!\\)".*?(?<!\\)""#,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:47:5: warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | ]
46 |
47 | let jellyLanguage: [String: Any] = [
| |- warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'jellyLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "function": [
49 | "regex": "([a-zA-Z_0-9\"\\[\\]\\+-]+)\\(.*?\\)",//\\. -Removed
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:99:5: warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
97 | ]
98 |
99 | let swiftLanguage: [String: Any] = [
| |- warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | "identifier": [
101 | "regex": "(\\.[A-Za-z_]+\\w*)|((NS|UI)[A-Z][a-zA-Z]+)|((println|print)(?=\\())|(Any|Array|AutoreleasingUnsafePointer|BidirectionalReverseView|Bit|Bool|CFunctionPointer|COpaquePointer|CVaListPointer|Character|CollectionOfOne|ConstUnsafePointer|ContiguousArray|Data|Dictionary|DictionaryGenerator|DictionaryIndex|Double|EmptyCollection|EmptyGenerator|EnumerateGenerator|FilterCollectionView|FilterCollectionViewIndex|FilterGenerator|FilterSequenceView|Float|Float80|FloatingPointClassification|GeneratorOf|GeneratorOfOne|GeneratorSequence|HeapBuffer|HeapBuffer|HeapBufferStorage|HeapBufferStorageBase|ImplicitlyUnwrappedOptional|IndexingGenerator|Int|Int16|Int32|Int64|Int8|IntEncoder|LazyBidirectionalCollection|LazyForwardCollection|LazyRandomAccessCollection|LazySequence|Less|MapCollectionView|MapSequenceGenerator|MapSequenceView|MirrorDisposition|ObjectIdentifier|OnHeap|Optional|PermutationGenerator|QuickLookObject|RandomAccessReverseView|Range|RangeGenerator|RawByte|Repeat|ReverseBidirectionalIndex|Printable|ReverseRandomAccessIndex|SequenceOf|SinkOf|Slice|StaticString|StrideThrough|StrideThroughGenerator|StrideTo|StrideToGenerator|String|Index|UTF8View|Index|UnicodeScalarView|IndexType|GeneratorType|UTF16View|UInt|UInt16|UInt32|UInt64|UInt8|UTF16|UTF32|UTF8|UnicodeDecodingResult|UnicodeScalar|Unmanaged|UnsafeArray|UnsafeArrayGenerator|UnsafeMutableArray|UnsafePointer|VaListBuilder|Header|Zip2|ZipGenerator2)",
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Themes.swift:10:5: warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let themes: [String: [String: Any]] = [
| |- warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'themes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | //https://github.com/hdoria/xcode-themes
12 | "Basic": [
/Users/admin/builder/spi-builder-workspace/Sources/Views/Line Numbers/LineNumberRulerView.swift:14:5: warning: var 'LineNumberViewAssocObjKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | import ObjectiveC
13 |
14 | var LineNumberViewAssocObjKey: UInt8 = 0
| |- warning: var 'LineNumberViewAssocObjKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LineNumberViewAssocObjKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'LineNumberViewAssocObjKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | extension FireflyTextView {
[4/28] Compiling Firefly Themes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Themes.swift:10:5: warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let themes: [String: [String: Any]] = [
| |- warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'themes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | //https://github.com/hdoria/xcode-themes
12 | "Basic": [
[5/28] Compiling Firefly Markdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Themes.swift:10:5: warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let themes: [String: [String: Any]] = [
| |- warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'themes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | //https://github.com/hdoria/xcode-themes
12 | "Basic": [
[6/28] Compiling Firefly Definition.swift
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Themes.swift:10:5: warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let themes: [String: [String: Any]] = [
| |- warning: let 'themes' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'themes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | //https://github.com/hdoria/xcode-themes
12 | "Basic": [
[7/28] Compiling Firefly Token.swift
[8/28] Compiling Firefly KeyCommand.swift
[9/28] Compiling Firefly NSTextView + Bounding Rect.swift
[10/28] Compiling Firefly Range+Encompasses.swift
[11/28] Compiling Firefly Safe Array.swift
[12/28] Compiling Firefly AttributedType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Dispatch.swift:16:13: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
14 | static func background(_ task: @escaping () -> Void) {
15 | Dispatch.global(qos: .background).async {
16 | task()
| |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Dispatch.swift:22:13: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
20 | static func main(_ task: @escaping () -> Void) {
21 | Dispatch.main.async {
22 | task()
| |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 | }
24 | }
[13/28] Compiling Firefly Comparable + Clamped.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Dispatch.swift:16:13: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
14 | static func background(_ task: @escaping () -> Void) {
15 | Dispatch.global(qos: .background).async {
16 | task()
| |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Dispatch.swift:22:13: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
20 | static func main(_ task: @escaping () -> Void) {
21 | Dispatch.main.async {
22 | task()
| |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 | }
24 | }
[14/28] Compiling Firefly Dispatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Dispatch.swift:16:13: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
14 | static func background(_ task: @escaping () -> Void) {
15 | Dispatch.global(qos: .background).async {
16 | task()
| |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Dispatch.swift:22:13: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
20 | static func main(_ task: @escaping () -> Void) {
21 | Dispatch.main.async {
22 | task()
| |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 | }
24 | }
[15/28] Compiling Firefly FireflyTextView.swift
[16/28] Compiling Firefly FireflyTextViewDelegate.swift
[17/28] Compiling Firefly Syntax.swift
[18/28] Compiling Firefly Theme.swift
[19/28] Compiling Firefly SyntaxAttributedString.swift
[20/28] Compiling Firefly LineNumberLayoutManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/Line Numbers/LineNumberRulerView.swift:14:5: warning: var 'LineNumberViewAssocObjKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | import ObjectiveC
13 |
14 | var LineNumberViewAssocObjKey: UInt8 = 0
| |- warning: var 'LineNumberViewAssocObjKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LineNumberViewAssocObjKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'LineNumberViewAssocObjKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | extension FireflyTextView {
[21/28] Compiling Firefly LineNumberRulerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/Line Numbers/LineNumberRulerView.swift:14:5: warning: var 'LineNumberViewAssocObjKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | import ObjectiveC
13 |
14 | var LineNumberViewAssocObjKey: UInt8 = 0
| |- warning: var 'LineNumberViewAssocObjKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LineNumberViewAssocObjKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'LineNumberViewAssocObjKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | extension FireflyTextView {
[22/28] Compiling Firefly String+NSRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:10:5: warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 | //TODO: if( is matched as a function not a keyword. Figure out a system to match if as a keyword not a function
10 | let languages: [String: [String: Any]] = [
| |- warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'languages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | "default": [:],
12 | "jelly": jellyLanguage,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:16:5: warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | ]
15 |
16 | let defaultLanguage: [String: Any] = [
| |- warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | "string": [
18 | "regex": #"(?<!\\)".*?(?<!\\)""#,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:47:5: warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | ]
46 |
47 | let jellyLanguage: [String: Any] = [
| |- warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'jellyLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "function": [
49 | "regex": "([a-zA-Z_0-9\"\\[\\]\\+-]+)\\(.*?\\)",//\\. -Removed
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:99:5: warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
97 | ]
98 |
99 | let swiftLanguage: [String: Any] = [
| |- warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | "identifier": [
101 | "regex": "(\\.[A-Za-z_]+\\w*)|((NS|UI)[A-Z][a-zA-Z]+)|((println|print)(?=\\())|(Any|Array|AutoreleasingUnsafePointer|BidirectionalReverseView|Bit|Bool|CFunctionPointer|COpaquePointer|CVaListPointer|Character|CollectionOfOne|ConstUnsafePointer|ContiguousArray|Data|Dictionary|DictionaryGenerator|DictionaryIndex|Double|EmptyCollection|EmptyGenerator|EnumerateGenerator|FilterCollectionView|FilterCollectionViewIndex|FilterGenerator|FilterSequenceView|Float|Float80|FloatingPointClassification|GeneratorOf|GeneratorOfOne|GeneratorSequence|HeapBuffer|HeapBuffer|HeapBufferStorage|HeapBufferStorageBase|ImplicitlyUnwrappedOptional|IndexingGenerator|Int|Int16|Int32|Int64|Int8|IntEncoder|LazyBidirectionalCollection|LazyForwardCollection|LazyRandomAccessCollection|LazySequence|Less|MapCollectionView|MapSequenceGenerator|MapSequenceView|MirrorDisposition|ObjectIdentifier|OnHeap|Optional|PermutationGenerator|QuickLookObject|RandomAccessReverseView|Range|RangeGenerator|RawByte|Repeat|ReverseBidirectionalIndex|Printable|ReverseRandomAccessIndex|SequenceOf|SinkOf|Slice|StaticString|StrideThrough|StrideThroughGenerator|StrideTo|StrideToGenerator|String|Index|UTF8View|Index|UnicodeScalarView|IndexType|GeneratorType|UTF16View|UInt|UInt16|UInt32|UInt64|UInt8|UTF16|UTF32|UTF8|UnicodeDecodingResult|UnicodeScalar|Unmanaged|UnsafeArray|UnsafeArrayGenerator|UnsafeMutableArray|UnsafePointer|VaListBuilder|Header|Zip2|ZipGenerator2)",
[23/28] Compiling Firefly UIColor+HexInit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:10:5: warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 | //TODO: if( is matched as a function not a keyword. Figure out a system to match if as a keyword not a function
10 | let languages: [String: [String: Any]] = [
| |- warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'languages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | "default": [:],
12 | "jelly": jellyLanguage,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:16:5: warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | ]
15 |
16 | let defaultLanguage: [String: Any] = [
| |- warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | "string": [
18 | "regex": #"(?<!\\)".*?(?<!\\)""#,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:47:5: warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | ]
46 |
47 | let jellyLanguage: [String: Any] = [
| |- warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'jellyLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "function": [
49 | "regex": "([a-zA-Z_0-9\"\\[\\]\\+-]+)\\(.*?\\)",//\\. -Removed
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:99:5: warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
97 | ]
98 |
99 | let swiftLanguage: [String: Any] = [
| |- warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | "identifier": [
101 | "regex": "(\\.[A-Za-z_]+\\w*)|((NS|UI)[A-Z][a-zA-Z]+)|((println|print)(?=\\())|(Any|Array|AutoreleasingUnsafePointer|BidirectionalReverseView|Bit|Bool|CFunctionPointer|COpaquePointer|CVaListPointer|Character|CollectionOfOne|ConstUnsafePointer|ContiguousArray|Data|Dictionary|DictionaryGenerator|DictionaryIndex|Double|EmptyCollection|EmptyGenerator|EnumerateGenerator|FilterCollectionView|FilterCollectionViewIndex|FilterGenerator|FilterSequenceView|Float|Float80|FloatingPointClassification|GeneratorOf|GeneratorOfOne|GeneratorSequence|HeapBuffer|HeapBuffer|HeapBufferStorage|HeapBufferStorageBase|ImplicitlyUnwrappedOptional|IndexingGenerator|Int|Int16|Int32|Int64|Int8|IntEncoder|LazyBidirectionalCollection|LazyForwardCollection|LazyRandomAccessCollection|LazySequence|Less|MapCollectionView|MapSequenceGenerator|MapSequenceView|MirrorDisposition|ObjectIdentifier|OnHeap|Optional|PermutationGenerator|QuickLookObject|RandomAccessReverseView|Range|RangeGenerator|RawByte|Repeat|ReverseBidirectionalIndex|Printable|ReverseRandomAccessIndex|SequenceOf|SinkOf|Slice|StaticString|StrideThrough|StrideThroughGenerator|StrideTo|StrideToGenerator|String|Index|UTF8View|Index|UnicodeScalarView|IndexType|GeneratorType|UTF16View|UInt|UInt16|UInt32|UInt64|UInt8|UTF16|UTF32|UTF8|UnicodeDecodingResult|UnicodeScalar|Unmanaged|UnsafeArray|UnsafeArrayGenerator|UnsafeMutableArray|UnsafePointer|VaListBuilder|Header|Zip2|ZipGenerator2)",
[24/28] Compiling Firefly Languages.swift
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:10:5: warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 | //TODO: if( is matched as a function not a keyword. Figure out a system to match if as a keyword not a function
10 | let languages: [String: [String: Any]] = [
| |- warning: let 'languages' is not concurrency-safe because non-'Sendable' type '[String : [String : Any]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'languages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | "default": [:],
12 | "jelly": jellyLanguage,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:16:5: warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | ]
15 |
16 | let defaultLanguage: [String: Any] = [
| |- warning: let 'defaultLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | "string": [
18 | "regex": #"(?<!\\)".*?(?<!\\)""#,
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:47:5: warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | ]
46 |
47 | let jellyLanguage: [String: Any] = [
| |- warning: let 'jellyLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'jellyLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "function": [
49 | "regex": "([a-zA-Z_0-9\"\\[\\]\\+-]+)\\(.*?\\)",//\\. -Removed
/Users/admin/builder/spi-builder-workspace/Sources/Highlighter/Data/Languages.swift:99:5: warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
97 | ]
98 |
99 | let swiftLanguage: [String: Any] = [
| |- warning: let 'swiftLanguage' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | "identifier": [
101 | "regex": "(\\.[A-Za-z_]+\\w*)|((NS|UI)[A-Z][a-zA-Z]+)|((println|print)(?=\\())|(Any|Array|AutoreleasingUnsafePointer|BidirectionalReverseView|Bit|Bool|CFunctionPointer|COpaquePointer|CVaListPointer|Character|CollectionOfOne|ConstUnsafePointer|ContiguousArray|Data|Dictionary|DictionaryGenerator|DictionaryIndex|Double|EmptyCollection|EmptyGenerator|EnumerateGenerator|FilterCollectionView|FilterCollectionViewIndex|FilterGenerator|FilterSequenceView|Float|Float80|FloatingPointClassification|GeneratorOf|GeneratorOfOne|GeneratorSequence|HeapBuffer|HeapBuffer|HeapBufferStorage|HeapBufferStorageBase|ImplicitlyUnwrappedOptional|IndexingGenerator|Int|Int16|Int32|Int64|Int8|IntEncoder|LazyBidirectionalCollection|LazyForwardCollection|LazyRandomAccessCollection|LazySequence|Less|MapCollectionView|MapSequenceGenerator|MapSequenceView|MirrorDisposition|ObjectIdentifier|OnHeap|Optional|PermutationGenerator|QuickLookObject|RandomAccessReverseView|Range|RangeGenerator|RawByte|Repeat|ReverseBidirectionalIndex|Printable|ReverseRandomAccessIndex|SequenceOf|SinkOf|Slice|StaticString|StrideThrough|StrideThroughGenerator|StrideTo|StrideToGenerator|String|Index|UTF8View|Index|UnicodeScalarView|IndexType|GeneratorType|UTF16View|UInt|UInt16|UInt32|UInt64|UInt8|UTF16|UTF32|UTF8|UnicodeDecodingResult|UnicodeScalar|Unmanaged|UnsafeArray|UnsafeArrayGenerator|UnsafeMutableArray|UnsafePointer|VaListBuilder|Header|Zip2|ZipGenerator2)",
[25/28] Compiling Firefly FireflySyntaxView + TextDelegate.swift
[26/28] Compiling Firefly FireflySyntaxView.swift
[27/28] Compiling Firefly FireflySyntaxEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:236:29: warning: main actor-isolated property 'text' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public struct FireflySyntaxEditor: ViewRepresentable {
16 |
17 | @Binding var text: String
| `- note: mutation of this property is only permitted within the actor
18 |
19 | var language: Binding<String>
:
234 | public func didChangeText(_ syntaxTextView: FireflyTextView) {
235 | Dispatch.main {
236 | self.parent.text = syntaxTextView.text
| `- warning: main actor-isolated property 'text' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
237 | }
238 | parent.didChangeText(syntaxTextView)
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:236:51: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
234 | public func didChangeText(_ syntaxTextView: FireflyTextView) {
235 | Dispatch.main {
236 | self.parent.text = syntaxTextView.text
| `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | }
238 | parent.didChangeText(syntaxTextView)
/Users/admin/builder/spi-builder-workspace/Sources/Views/UIAppKitBirdge.swift:61:9: note: property declared here
59 |
60 | extension NSTextView {
61 | var text: String {
| `- note: property declared here
62 | get {
63 | return self.string
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:238:20: warning: main actor-isolated property 'didChangeText' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 |
43 | // Delegate functions
44 | var didChangeText: (FireflyTextView) -> Void
| `- note: property declared here
45 | var didChangeSelectedRange: (FireflyTextView, NSRange) -> Void
46 | var textViewDidBeginEditing: (FireflyTextView) -> Void
:
232 | }
233 |
234 | public func didChangeText(_ syntaxTextView: FireflyTextView) {
| `- note: add '@MainActor' to make instance method 'didChangeText' part of global actor 'MainActor'
235 | Dispatch.main {
236 | self.parent.text = syntaxTextView.text
237 | }
238 | parent.didChangeText(syntaxTextView)
| `- warning: main actor-isolated property 'didChangeText' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:242:20: warning: main actor-isolated property 'didChangeSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | // Delegate functions
44 | var didChangeText: (FireflyTextView) -> Void
45 | var didChangeSelectedRange: (FireflyTextView, NSRange) -> Void
| `- note: property declared here
46 | var textViewDidBeginEditing: (FireflyTextView) -> Void
47 |
:
239 | }
240 |
241 | public func didChangeSelectedRange(_ syntaxTextView: FireflyTextView, selectedRange: NSRange) {
| `- note: add '@MainActor' to make instance method 'didChangeSelectedRange(_:selectedRange:)' part of global actor 'MainActor'
242 | parent.didChangeSelectedRange(syntaxTextView, selectedRange)
| `- warning: main actor-isolated property 'didChangeSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
243 | }
244 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:246:20: warning: main actor-isolated property 'textViewDidBeginEditing' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | var didChangeText: (FireflyTextView) -> Void
45 | var didChangeSelectedRange: (FireflyTextView, NSRange) -> Void
46 | var textViewDidBeginEditing: (FireflyTextView) -> Void
| `- note: property declared here
47 |
48 | public let wrappedView = FireflySyntaxView()
:
243 | }
244 |
245 | public func textViewDidBeginEditing(_ syntaxTextView: FireflyTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidBeginEditing' part of global actor 'MainActor'
246 | parent.textViewDidBeginEditing(syntaxTextView)
| `- warning: main actor-isolated property 'textViewDidBeginEditing' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 | }
248 | }
[28/28] Compiling Firefly UIAppKitBirdge.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:236:29: warning: main actor-isolated property 'text' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public struct FireflySyntaxEditor: ViewRepresentable {
16 |
17 | @Binding var text: String
| `- note: mutation of this property is only permitted within the actor
18 |
19 | var language: Binding<String>
:
234 | public func didChangeText(_ syntaxTextView: FireflyTextView) {
235 | Dispatch.main {
236 | self.parent.text = syntaxTextView.text
| `- warning: main actor-isolated property 'text' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
237 | }
238 | parent.didChangeText(syntaxTextView)
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:236:51: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
234 | public func didChangeText(_ syntaxTextView: FireflyTextView) {
235 | Dispatch.main {
236 | self.parent.text = syntaxTextView.text
| `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | }
238 | parent.didChangeText(syntaxTextView)
/Users/admin/builder/spi-builder-workspace/Sources/Views/UIAppKitBirdge.swift:61:9: note: property declared here
59 |
60 | extension NSTextView {
61 | var text: String {
| `- note: property declared here
62 | get {
63 | return self.string
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:238:20: warning: main actor-isolated property 'didChangeText' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 |
43 | // Delegate functions
44 | var didChangeText: (FireflyTextView) -> Void
| `- note: property declared here
45 | var didChangeSelectedRange: (FireflyTextView, NSRange) -> Void
46 | var textViewDidBeginEditing: (FireflyTextView) -> Void
:
232 | }
233 |
234 | public func didChangeText(_ syntaxTextView: FireflyTextView) {
| `- note: add '@MainActor' to make instance method 'didChangeText' part of global actor 'MainActor'
235 | Dispatch.main {
236 | self.parent.text = syntaxTextView.text
237 | }
238 | parent.didChangeText(syntaxTextView)
| `- warning: main actor-isolated property 'didChangeText' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:242:20: warning: main actor-isolated property 'didChangeSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | // Delegate functions
44 | var didChangeText: (FireflyTextView) -> Void
45 | var didChangeSelectedRange: (FireflyTextView, NSRange) -> Void
| `- note: property declared here
46 | var textViewDidBeginEditing: (FireflyTextView) -> Void
47 |
:
239 | }
240 |
241 | public func didChangeSelectedRange(_ syntaxTextView: FireflyTextView, selectedRange: NSRange) {
| `- note: add '@MainActor' to make instance method 'didChangeSelectedRange(_:selectedRange:)' part of global actor 'MainActor'
242 | parent.didChangeSelectedRange(syntaxTextView, selectedRange)
| `- warning: main actor-isolated property 'didChangeSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
243 | }
244 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/Swift UI/FireflySyntaxEditor.swift:246:20: warning: main actor-isolated property 'textViewDidBeginEditing' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | var didChangeText: (FireflyTextView) -> Void
45 | var didChangeSelectedRange: (FireflyTextView, NSRange) -> Void
46 | var textViewDidBeginEditing: (FireflyTextView) -> Void
| `- note: property declared here
47 |
48 | public let wrappedView = FireflySyntaxView()
:
243 | }
244 |
245 | public func textViewDidBeginEditing(_ syntaxTextView: FireflyTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidBeginEditing' part of global actor 'MainActor'
246 | parent.textViewDidBeginEditing(syntaxTextView)
| `- warning: main actor-isolated property 'textViewDidBeginEditing' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 | }
248 | }
Build complete! (8.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Firefly",
"name" : "Firefly",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Firefly",
"targets" : [
"Firefly"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FireflyTests",
"module_type" : "SwiftTarget",
"name" : "FireflyTests",
"path" : "Tests",
"sources" : [
"FireflyTests/FireflyTextViewTests.swift"
],
"target_dependencies" : [
"Firefly"
],
"type" : "test"
},
{
"c99name" : "Firefly",
"module_type" : "SwiftTarget",
"name" : "Firefly",
"path" : "Sources",
"product_memberships" : [
"Firefly"
],
"sources" : [
"Extensions/AttributedType.swift",
"Extensions/Comparable + Clamped.swift",
"Extensions/Dispatch.swift",
"Extensions/NSTextView + Bounding Rect.swift",
"Extensions/Range+Encompasses.swift",
"Extensions/Safe Array.swift",
"Extensions/String+NSRange.swift",
"Extensions/UIColor+HexInit.swift",
"Highlighter/Data/Languages.swift",
"Highlighter/Data/Themes.swift",
"Highlighter/Markdown.swift",
"Highlighter/Syntax/Definition.swift",
"Highlighter/Syntax/Syntax.swift",
"Highlighter/Syntax/Theme.swift",
"Highlighter/SyntaxAttributedString.swift",
"Highlighter/Tokens/Token.swift",
"Utility/KeyCommand.swift",
"Views/FireflySyntaxView + TextDelegate.swift",
"Views/FireflySyntaxView.swift",
"Views/FireflyTextView.swift",
"Views/FireflyTextViewDelegate.swift",
"Views/Line Numbers/LineNumberLayoutManager.swift",
"Views/Line Numbers/LineNumberRulerView.swift",
"Views/Swift UI/FireflySyntaxEditor.swift",
"Views/UIAppKitBirdge.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.