Build Information
Successful build of SwiftyMarkdown with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 14
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/simonfairbairn/SwiftyMarkdown.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonfairbairn/SwiftyMarkdown
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dde451a Merge branch 'release/1.2.4'
Cloned https://github.com/simonfairbairn/SwiftyMarkdown.git
Revision (git rev-parse @):
dde451ab4ed9b77b328e21baa471fdfa0cf61369
SUCCESS checkout https://github.com/simonfairbairn/SwiftyMarkdown.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/simonfairbairn/SwiftyMarkdown.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling SwiftyMarkdown SwiftyTokeniser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:12:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension OSLog {
12 | private static var subsystem = "SwiftyTokeniser"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:13:13: warning: static property 'tokenising' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension OSLog {
12 | private static var subsystem = "SwiftyTokeniser"
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
| `- warning: static property 'tokenising' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 | //
8 | import Foundation
9 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | extension OSLog {
12 | private static var subsystem = "SwiftyTokeniser"
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
| |- note: annotate 'tokenising' 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
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:14:13: warning: static property 'styling' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private static var subsystem = "SwiftyTokeniser"
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
| |- warning: static property 'styling' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'styling' 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
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
16 | }
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:15:13: warning: static property 'performance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
| |- warning: static property 'performance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'performance' 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
16 | }
17 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
[4/12] Compiling SwiftyMarkdown SwiftyScanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:19:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension OSLog {
19 | private static var subsystem = "SwiftyScanner"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:20:13: warning: static property 'swiftyScanner' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
18 | extension OSLog {
19 | private static var subsystem = "SwiftyScanner"
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
| `- warning: static property 'swiftyScanner' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
22 | }
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
14 |
15 | import Foundation
16 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
17 |
18 | extension OSLog {
19 | private static var subsystem = "SwiftyScanner"
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
| |- note: annotate 'swiftyScanner' 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
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:21:13: warning: static property 'swiftyScannerPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
19 | private static var subsystem = "SwiftyScanner"
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
| |- warning: static property 'swiftyScannerPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftyScannerPerformance' 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
22 | }
23 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
[5/13] Compiling SwiftyMarkdown Token.swift
[6/13] Compiling SwiftyMarkdown SwiftyMarkdown+iOS.swift
[7/13] Compiling SwiftyMarkdown SwiftyMarkdown+macOS.swift
[8/13] Compiling SwiftyMarkdown String+SwiftyMarkdown.swift
[9/13] Emitting module SwiftyMarkdown
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyLineProcessor.swift:13:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension OSLog {
13 | private static var subsystem = "SwiftyLineProcessor"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
14 | static let swiftyLineProcessorPerformance = OSLog(subsystem: subsystem, category: "Swifty Line Processor Performance")
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyLineProcessor.swift:14:13: warning: static property 'swiftyLineProcessorPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension OSLog {
13 | private static var subsystem = "SwiftyLineProcessor"
14 | static let swiftyLineProcessorPerformance = OSLog(subsystem: subsystem, category: "Swifty Line Processor Performance")
| `- warning: static property 'swiftyLineProcessorPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyLineProcessor.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | import Foundation
10 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
11 |
12 | extension OSLog {
13 | private static var subsystem = "SwiftyLineProcessor"
14 | static let swiftyLineProcessorPerformance = OSLog(subsystem: subsystem, category: "Swifty Line Processor Performance")
| |- note: annotate 'swiftyLineProcessorPerformance' 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
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:16:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OSLog {
16 | private static var subsystem = "SwiftyMarkdown"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
17 | static let swiftyMarkdownPerformance = OSLog(subsystem: subsystem, category: "Swifty Markdown Performance")
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:17:13: warning: static property 'swiftyMarkdownPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension OSLog {
16 | private static var subsystem = "SwiftyMarkdown"
17 | static let swiftyMarkdownPerformance = OSLog(subsystem: subsystem, category: "Swifty Markdown Performance")
| `- warning: static property 'swiftyMarkdownPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
6 | // Copyright © 2016 Voyage Travel Apps. All rights reserved.
7 | //
8 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
9 | #if os(macOS)
10 | import AppKit
:
15 | extension OSLog {
16 | private static var subsystem = "SwiftyMarkdown"
17 | static let swiftyMarkdownPerformance = OSLog(subsystem: subsystem, category: "Swifty Markdown Performance")
| |- note: annotate 'swiftyMarkdownPerformance' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:154:20: warning: static property 'frontMatterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
152 | @objc open class SwiftyMarkdown: NSObject {
153 |
154 | static public var frontMatterRules = [
| |- warning: static property 'frontMatterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'frontMatterRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'frontMatterRules' 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
155 | FrontMatterRule(openTag: "---", closeTag: "---", keyValueSeparator: ":")
156 | ]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:158:20: warning: static property 'lineRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | ]
157 |
158 | static public var lineRules = [
| |- warning: static property 'lineRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lineRules' 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
159 | LineRule(token: "=", type: MarkdownLineStyle.previousH1, removeFrom: .entireLine, changeAppliesTo: .previous),
160 | LineRule(token: "-", type: MarkdownLineStyle.previousH2, removeFrom: .entireLine, changeAppliesTo: .previous),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:181:20: warning: static property 'characterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
179 | ]
180 |
181 | static public var characterRules = [
| |- warning: static property 'characterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'characterRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'characterRules' 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
182 | CharacterRule(primaryTag: CharacterRuleTag(tag: "![", type: .open), otherTags: [
183 | CharacterRuleTag(tag: "]", type: .close),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:19:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension OSLog {
19 | private static var subsystem = "SwiftyScanner"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:20:13: warning: static property 'swiftyScanner' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
18 | extension OSLog {
19 | private static var subsystem = "SwiftyScanner"
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
| `- warning: static property 'swiftyScanner' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
22 | }
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
14 |
15 | import Foundation
16 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
17 |
18 | extension OSLog {
19 | private static var subsystem = "SwiftyScanner"
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
| |- note: annotate 'swiftyScanner' 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
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyScanner.swift:21:13: warning: static property 'swiftyScannerPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
19 | private static var subsystem = "SwiftyScanner"
20 | static let swiftyScanner = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner")
21 | static let swiftyScannerPerformance = OSLog(subsystem: subsystem, category: "Swifty Scanner Scanner Peformance")
| |- warning: static property 'swiftyScannerPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftyScannerPerformance' 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
22 | }
23 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:12:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension OSLog {
12 | private static var subsystem = "SwiftyTokeniser"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:13:13: warning: static property 'tokenising' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension OSLog {
12 | private static var subsystem = "SwiftyTokeniser"
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
| `- warning: static property 'tokenising' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 | //
8 | import Foundation
9 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | extension OSLog {
12 | private static var subsystem = "SwiftyTokeniser"
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
| |- note: annotate 'tokenising' 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
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:14:13: warning: static property 'styling' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private static var subsystem = "SwiftyTokeniser"
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
| |- warning: static property 'styling' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'styling' 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
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
16 | }
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyTokeniser.swift:15:13: warning: static property 'performance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let tokenising = OSLog(subsystem: subsystem, category: "Tokenising")
14 | static let styling = OSLog(subsystem: subsystem, category: "Styling")
15 | static let performance = OSLog(subsystem: subsystem, category: "Peformance")
| |- warning: static property 'performance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'performance' 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
16 | }
17 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
[10/13] Compiling SwiftyMarkdown PerfomanceLog.swift
[11/13] Compiling SwiftyMarkdown SwiftyLineProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyLineProcessor.swift:13:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension OSLog {
13 | private static var subsystem = "SwiftyLineProcessor"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
14 | static let swiftyLineProcessorPerformance = OSLog(subsystem: subsystem, category: "Swifty Line Processor Performance")
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyLineProcessor.swift:14:13: warning: static property 'swiftyLineProcessorPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension OSLog {
13 | private static var subsystem = "SwiftyLineProcessor"
14 | static let swiftyLineProcessorPerformance = OSLog(subsystem: subsystem, category: "Swifty Line Processor Performance")
| `- warning: static property 'swiftyLineProcessorPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyLineProcessor.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | import Foundation
10 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
11 |
12 | extension OSLog {
13 | private static var subsystem = "SwiftyLineProcessor"
14 | static let swiftyLineProcessorPerformance = OSLog(subsystem: subsystem, category: "Swifty Line Processor Performance")
| |- note: annotate 'swiftyLineProcessorPerformance' 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
15 | }
16 |
[12/13] Compiling SwiftyMarkdown SwiftyMarkdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:16:21: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OSLog {
16 | private static var subsystem = "SwiftyMarkdown"
| |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subsystem' 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
17 | static let swiftyMarkdownPerformance = OSLog(subsystem: subsystem, category: "Swifty Markdown Performance")
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:17:13: warning: static property 'swiftyMarkdownPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension OSLog {
16 | private static var subsystem = "SwiftyMarkdown"
17 | static let swiftyMarkdownPerformance = OSLog(subsystem: subsystem, category: "Swifty Markdown Performance")
| `- warning: static property 'swiftyMarkdownPerformance' is not concurrency-safe because non-'Sendable' type 'OSLog' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
os.OSLog:1:12: note: class 'OSLog' does not conform to the 'Sendable' protocol
1 | open class OSLog : NSObject {
| `- note: class 'OSLog' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "Unavailable in Swift")
3 | public init!()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
6 | // Copyright © 2016 Voyage Travel Apps. All rights reserved.
7 | //
8 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
9 | #if os(macOS)
10 | import AppKit
:
15 | extension OSLog {
16 | private static var subsystem = "SwiftyMarkdown"
17 | static let swiftyMarkdownPerformance = OSLog(subsystem: subsystem, category: "Swifty Markdown Performance")
| |- note: annotate 'swiftyMarkdownPerformance' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:154:20: warning: static property 'frontMatterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
152 | @objc open class SwiftyMarkdown: NSObject {
153 |
154 | static public var frontMatterRules = [
| |- warning: static property 'frontMatterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'frontMatterRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'frontMatterRules' 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
155 | FrontMatterRule(openTag: "---", closeTag: "---", keyValueSeparator: ":")
156 | ]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:158:20: warning: static property 'lineRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | ]
157 |
158 | static public var lineRules = [
| |- warning: static property 'lineRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lineRules' 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
159 | LineRule(token: "=", type: MarkdownLineStyle.previousH1, removeFrom: .entireLine, changeAppliesTo: .previous),
160 | LineRule(token: "-", type: MarkdownLineStyle.previousH2, removeFrom: .entireLine, changeAppliesTo: .previous),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMarkdown/SwiftyMarkdown.swift:181:20: warning: static property 'characterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
179 | ]
180 |
181 | static public var characterRules = [
| |- warning: static property 'characterRules' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'characterRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'characterRules' 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
182 | CharacterRule(primaryTag: CharacterRuleTag(tag: "![", type: .open), otherTags: [
183 | CharacterRuleTag(tag: "]", type: .close),
[13/13] Compiling SwiftyMarkdown CharacterRule.swift
Build complete! (27.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyMarkdown",
"name" : "SwiftyMarkdown",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "SwiftyMarkdown",
"targets" : [
"SwiftyMarkdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyMarkdownTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyMarkdownTests",
"path" : "Tests/SwiftyMarkdownTests",
"sources" : [
"SwiftyMarkdownAttributedStringTests.swift",
"SwiftyMarkdownCharacterTests.swift",
"SwiftyMarkdownLineTests.swift",
"SwiftyMarkdownLinkTests.swift",
"SwiftyMarkdownPerformanceTests.swift",
"XCTest+SwiftyMarkdown.swift"
],
"target_dependencies" : [
"SwiftyMarkdown"
],
"type" : "test"
},
{
"c99name" : "SwiftyMarkdown",
"module_type" : "SwiftTarget",
"name" : "SwiftyMarkdown",
"path" : "Sources/SwiftyMarkdown",
"product_memberships" : [
"SwiftyMarkdown"
],
"sources" : [
"CharacterRule.swift",
"PerfomanceLog.swift",
"String+SwiftyMarkdown.swift",
"SwiftyLineProcessor.swift",
"SwiftyMarkdown+iOS.swift",
"SwiftyMarkdown+macOS.swift",
"SwiftyMarkdown.swift",
"SwiftyScanner.swift",
"SwiftyTokeniser.swift",
"Token.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.