Build Information
Successful build of SwiftPlantUML with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 13
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/MarcoEidinger/SwiftPlantUML.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MarcoEidinger/SwiftPlantUML
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0f5875e chore: 🤖 0.8.1
Cloned https://github.com/MarcoEidinger/SwiftPlantUML.git
Revision (git rev-parse @):
0f5875ec7d4f1ef9ff98079babed44ccf3437fd6
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/MarcoEidinger/SwiftPlantUML.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/MarcoEidinger/SwiftPlantUML.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/21] Write sources
[4/21] Write swiftplantuml-entitlement.plist
[6/21] Write sources
[9/21] Compiling SourceKit SourceKit.m
[10/21] Compiling Clang_C Clang_C.m
[11/21] Write swift-version-6F35C1178C84523A.txt
[12/38] Compiling parser.c
[13/38] Compiling reader.c
[14/38] Compiling scanner.c
[15/38] Compiling api.c
[16/38] Compiling writer.c
[17/38] Compiling emitter.c
[19/53] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/53] Emitting module ArgumentParserToolInfo
[21/88] Compiling Yams Tag.swift
[22/89] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/89] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/89] Compiling Yams YamlError.swift
[25/89] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/89] Compiling ArgumentParser CompletionsGenerator.swift
[29/92] Compiling ArgumentParser Flag.swift
[30/92] Compiling ArgumentParser NameSpecification.swift
[31/92] Compiling ArgumentParser Option.swift
[32/92] Compiling ArgumentParser OptionGroup.swift
[33/92] Compiling ArgumentParser ArgumentSet.swift
[34/92] Compiling ArgumentParser CommandParser.swift
[35/92] Compiling ArgumentParser InputOrigin.swift
[36/92] Compiling ArgumentParser Name.swift
[37/92] Emitting module ArgumentParser
[38/92] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/92] Compiling ArgumentParser ParsableCommand.swift
[40/92] Compiling ArgumentParser ArgumentDecoder.swift
[41/92] Compiling ArgumentParser ArgumentDefinition.swift
[42/92] Compiling ArgumentParser Argument.swift
[43/92] Compiling ArgumentParser ArgumentHelp.swift
[44/92] Compiling ArgumentParser CompletionKind.swift
[45/92] Compiling ArgumentParser Errors.swift
[46/92] Compiling ArgumentParser SequenceExtensions.swift
[47/92] Compiling ArgumentParser StringExtensions.swift
[48/92] Compiling ArgumentParser Tree.swift
[49/92] Compiling Yams String+Yams.swift
[50/92] Compiling SwiftyBeaver GoogleCloudDestination.swift
[51/92] Compiling SwiftyBeaver SBPlatformDestination.swift
[52/93] Compiling Yams Resolver.swift
[53/93] Compiling Yams Representer.swift
[54/93] Compiling SwiftyBeaver FileDestination.swift
[55/93] Compiling SwiftyBeaver Filter.swift
[56/93] Compiling SwiftyBeaver FilterValidator.swift
[57/93] Compiling ArgumentParser Parsed.swift
[58/93] Compiling ArgumentParser ParsedValues.swift
[59/93] Compiling ArgumentParser ParserError.swift
[60/93] Compiling ArgumentParser SplitArguments.swift
[61/93] Compiling ArgumentParser MessageInfo.swift
[62/93] Compiling ArgumentParser UsageGenerator.swift
[63/93] Compiling ArgumentParser CollectionExtensions.swift
[64/93] Emitting module SWXMLHash
[65/93] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[66/93] Compiling SWXMLHash shim.swift
[67/93] Compiling SWXMLHash XMLHash.swift
[68/93] Compiling SwiftyBeaver Extensions.swift
[69/93] Emitting module Yams
[72/93] Compiling ArgumentParser CommandConfiguration.swift
[73/93] Compiling ArgumentParser EnumerableFlag.swift
[74/93] Compiling ArgumentParser ExpressibleByArgument.swift
[75/93] Compiling ArgumentParser ParsableArguments.swift
[76/93] Compiling ArgumentParser DumpHelpGenerator.swift
[77/93] Compiling ArgumentParser HelpCommand.swift
[78/93] Compiling ArgumentParser HelpGenerator.swift
[85/136] Compiling SwiftyBeaver SwiftyBeaver.swift
[86/136] Compiling SwiftyBeaver BaseDestination.swift
[87/136] Compiling SwiftyBeaver ConsoleDestination.swift
[88/136] Emitting module SwiftyBeaver
[89/136] Compiling SourceKittenFramework ByteCount.swift
[90/136] Compiling SourceKittenFramework ByteRange.swift
[91/136] Compiling SourceKittenFramework UID.swift
[92/136] Compiling SourceKittenFramework UIDRepresentable.swift
[93/136] Compiling SourceKittenFramework Version.swift
[94/136] Compiling SourceKittenFramework Xcode.swift
[95/140] Compiling SourceKittenFramework File.swift
[96/140] Compiling SourceKittenFramework JSONOutput.swift
[97/140] Compiling SourceKittenFramework Language.swift
[98/140] Compiling SourceKittenFramework Line.swift
[99/140] Compiling SourceKittenFramework LinuxCompatibility.swift
[102/140] Compiling SourceKittenFramework Clang+SourceKitten.swift
[103/140] Compiling SourceKittenFramework ClangTranslationUnit.swift
[104/140] Compiling SourceKittenFramework CodeCompletionItem.swift
[105/140] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[106/140] Compiling SourceKittenFramework Dictionary+Merge.swift
[107/140] Compiling SourceKittenFramework Documentation.swift
[108/140] Compiling SourceKittenFramework Exec.swift
[109/140] Compiling SourceKittenFramework File+Hashable.swift
[110/140] Compiling SourceKittenFramework SyntaxKind.swift
[111/140] Compiling SourceKittenFramework SyntaxMap.swift
[112/140] Compiling SourceKittenFramework SyntaxToken.swift
[113/140] Compiling SourceKittenFramework Text.swift
[114/140] Compiling SourceKittenFramework Module.swift
[115/140] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[116/140] Compiling SourceKittenFramework OffsetMap.swift
[117/140] Compiling SourceKittenFramework Parameter.swift
[118/140] Compiling SourceKittenFramework Request.swift
[119/140] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[120/140] Compiling SourceKittenFramework SwiftDocKey.swift
[121/140] Compiling SourceKittenFramework SwiftDocs.swift
[122/140] Compiling SourceKittenFramework SwiftVersion.swift
[123/140] Compiling SourceKittenFramework SourceDeclaration.swift
[124/140] Compiling SourceKittenFramework SourceKitObject.swift
[125/140] Compiling SourceKittenFramework SourceKittenConfiguration.swift
[126/140] Compiling SourceKittenFramework SourceLocation.swift
[127/140] Compiling SourceKittenFramework StatementKind.swift
[128/140] Compiling SourceKittenFramework String+SourceKitten.swift
[129/140] Compiling SourceKittenFramework StringView+SourceKitten.swift
[130/140] Compiling SourceKittenFramework StringView.swift
[131/140] Compiling SourceKittenFramework Structure.swift
[132/140] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[133/140] Emitting module SourceKittenFramework
[134/140] Compiling SourceKittenFramework XcodeBuildSetting.swift
[135/140] Compiling SourceKittenFramework library_wrapper.swift
[136/140] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[137/140] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[138/169] Compiling SwiftPlantUMLFramework FileOptions.swift
[139/169] Compiling SwiftPlantUMLFramework PageTexts.swift
[140/169] Compiling SwiftPlantUMLFramework RelationshipOptions.swift
[141/172] Compiling SwiftPlantUMLFramework ConfigurationProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
[142/172] Compiling SwiftPlantUMLFramework ElementOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
[143/172] Compiling SwiftPlantUMLFramework ExtensionVisualization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
[144/172] Compiling SwiftPlantUMLFramework ElementAccessibility+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
[145/172] Compiling SwiftPlantUMLFramework PlantUMLContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
[146/172] Compiling SwiftPlantUMLFramework String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
[147/172] Compiling SwiftPlantUMLFramework PlantUMLConsolePresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
[148/172] Compiling SwiftPlantUMLFramework PlantUMLPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
[149/172] Compiling SwiftPlantUMLFramework Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
[150/172] Compiling SwiftPlantUMLFramework ClassDiagramGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
[151/172] Compiling SwiftPlantUMLFramework ClassDiagramOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
[152/172] Compiling SwiftPlantUMLFramework Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
[153/172] Compiling SwiftPlantUMLFramework Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
[154/172] Emitting module SwiftPlantUMLFramework
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Theme.swift:10:23: warning: static property 'preferred' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum Theme: Codable {
9 | /// themes that look good for class diagrams
10 | public static var preferred: [Theme] = [.amiga, .carbonGray, .cloudscapeDesign, .mars, .minty, .plain, .reddressDarkblue, .sketchy, .sketchyOutline, .toy]
| |- warning: static property 'preferred' 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 'preferred' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferred' 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
11 |
12 | /// amiga
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
[155/172] Compiling SwiftPlantUMLFramework RelationshipStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Theme.swift:10:23: warning: static property 'preferred' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum Theme: Codable {
9 | /// themes that look good for class diagrams
10 | public static var preferred: [Theme] = [.amiga, .carbonGray, .cloudscapeDesign, .mars, .minty, .plain, .reddressDarkblue, .sketchy, .sketchyOutline, .toy]
| |- warning: static property 'preferred' 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 'preferred' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferred' 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
11 |
12 | /// amiga
[156/172] Compiling SwiftPlantUMLFramework Stereotype.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Theme.swift:10:23: warning: static property 'preferred' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum Theme: Codable {
9 | /// themes that look good for class diagrams
10 | public static var preferred: [Theme] = [.amiga, .carbonGray, .cloudscapeDesign, .mars, .minty, .plain, .reddressDarkblue, .sketchy, .sketchyOutline, .toy]
| |- warning: static property 'preferred' 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 'preferred' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferred' 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
11 |
12 | /// amiga
[157/172] Compiling SwiftPlantUMLFramework Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Theme.swift:10:23: warning: static property 'preferred' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum Theme: Codable {
9 | /// themes that look good for class diagrams
10 | public static var preferred: [Theme] = [.amiga, .carbonGray, .cloudscapeDesign, .mars, .minty, .plain, .reddressDarkblue, .sketchy, .sketchyOutline, .toy]
| |- warning: static property 'preferred' 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 'preferred' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferred' 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
11 |
12 | /// amiga
[158/172] Compiling SwiftPlantUMLFramework SyntaxStructureProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[159/172] Compiling SwiftPlantUMLFramework Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[160/172] Compiling SwiftPlantUMLFramework NoLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[161/172] Compiling SwiftPlantUMLFramework FileCollector.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[162/172] Compiling SwiftPlantUMLFramework Glob.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[163/172] Compiling SwiftPlantUMLFramework ConfigFileWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[164/172] Compiling SwiftPlantUMLFramework SyntaxStructure+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Internal/SyntaxStructure+Extensions.swift:25:17: warning: variable 'parent' was never mutated; consider changing to 'let' constant
23 | continue
24 | }
25 | var parent = processedItems[parentIndex]
| `- warning: variable 'parent' was never mutated; consider changing to 'let' constant
26 | // in case main declaration cannot be found for an extension then extension might find itself. Do not merge with itself :)
27 | guard structure != parent else { continue }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Internal/SyntaxStructure+Extensions.swift:30:23: warning: variable 'members' was never mutated; consider changing to 'let' constant
28 | processedItems.removeAll(where: { $0 == structure })
29 | // merge members of extension with main declaration (or: the first extension if no main declaration was found)
30 | guard var members = structure.substructure else { continue }
| `- warning: variable 'members' was never mutated; consider changing to 'let' constant
31 | if let memberSuffix = mergedMemberIndicator, parent.kind != .extension {
32 | for index in members.indices {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[165/172] Compiling SwiftPlantUMLFramework SyntaxStructure+PlantUML.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Internal/SyntaxStructure+Extensions.swift:25:17: warning: variable 'parent' was never mutated; consider changing to 'let' constant
23 | continue
24 | }
25 | var parent = processedItems[parentIndex]
| `- warning: variable 'parent' was never mutated; consider changing to 'let' constant
26 | // in case main declaration cannot be found for an extension then extension might find itself. Do not merge with itself :)
27 | guard structure != parent else { continue }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Internal/SyntaxStructure+Extensions.swift:30:23: warning: variable 'members' was never mutated; consider changing to 'let' constant
28 | processedItems.removeAll(where: { $0 == structure })
29 | // merge members of extension with main declaration (or: the first extension if no main declaration was found)
30 | guard var members = structure.substructure else { continue }
| `- warning: variable 'members' was never mutated; consider changing to 'let' constant
31 | if let memberSuffix = mergedMemberIndicator, parent.kind != .extension {
32 | for index in members.indices {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[166/172] Compiling SwiftPlantUMLFramework SyntaxStructure.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Internal/SyntaxStructure+Extensions.swift:25:17: warning: variable 'parent' was never mutated; consider changing to 'let' constant
23 | continue
24 | }
25 | var parent = processedItems[parentIndex]
| `- warning: variable 'parent' was never mutated; consider changing to 'let' constant
26 | // in case main declaration cannot be found for an extension then extension might find itself. Do not merge with itself :)
27 | guard structure != parent else { continue }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Internal/SyntaxStructure+Extensions.swift:30:23: warning: variable 'members' was never mutated; consider changing to 'let' constant
28 | processedItems.removeAll(where: { $0 == structure })
29 | // merge members of extension with main declaration (or: the first extension if no main declaration was found)
30 | guard var members = structure.substructure else { continue }
| `- warning: variable 'members' was never mutated; consider changing to 'let' constant
31 | if let memberSuffix = mergedMemberIndicator, parent.kind != .extension {
32 | for index in members.indices {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:46:36: warning: static property 'class' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// default spot for classes
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
| |- warning: static property 'class' 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 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'class' 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
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:48:36: warning: static property 'struct' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public private(set) static var `class` = Stereotype(spot: Spot(character: "C", color: .DarkSeaGreen))
47 | /// default spot for structs
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
| |- warning: static property 'struct' 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 'struct' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'struct' 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
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:50:36: warning: static property 'extension' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public private(set) static var `struct` = Stereotype(name: "struct", spot: Spot(character: "S", color: .SkyBlue))
49 | /// default spot for extensions
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
| |- warning: static property 'extension' 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 'extension' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extension' 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
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:52:36: warning: static property 'enum' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public private(set) static var `extension` = Stereotype(name: "extension", spot: Spot(character: "X", color: .Orchid))
51 | /// default spot for enums
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
| |- warning: static property 'enum' 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 'enum' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enum' 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
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Stereotype.swift:54:36: warning: static property 'protocol' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public private(set) static var `enum` = Stereotype(name: "enum", spot: Spot(character: "E", color: .LightSteelBlue))
53 | /// default spot for protocols
54 | public private(set) static var `protocol` = Stereotype(name: "protocol", spot: Spot(character: "P", color: .GoldenRod))
| |- warning: static property 'protocol' 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 'protocol' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'protocol' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[167/172] Compiling SwiftPlantUMLFramework PlantUMLScript.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[168/172] Compiling SwiftPlantUMLFramework PlantUMLText.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[169/172] Compiling SwiftPlantUMLFramework PlantUMLBrowserPresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Configuration/Configuration.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | // https://plantuml.com/class-diagram
20 | /// Configuration options to influence the generation and visual representation of the class diagram
21 | public struct Configuration: Codable {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
22 | /// memberwise initializer
23 | public init(files: FileOptions = FileOptions(), elements: ElementOptions = ElementOptions(), hideShowCommands: [String]? = ["hide empty members"], skinparamCommands: [String]? = ["skinparam shadowing false"], includeRemoteURL: String? = nil, theme: Theme? = nil, relationships: RelationshipOptions = RelationshipOptions(), stereotypes: Stereotypes = Stereotypes.default, relationshipExclude _: [String]? = nil, texts: PageTexts? = nil) {
:
65 |
66 | /// default configuration used if no configuration file was found
67 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
68 |
69 | /// options which files shall be considered for class diagram generation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
[170/178] Compiling swiftplantuml Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/Version.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension SwiftPlantUML {
5 | struct Version: ParsableCommand {
6 | static let configuration = CommandConfiguration(abstract: "Display the current version of SwiftUML")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | static var value: String { SwiftPlantUMLFramework.Version.current.value }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/Version.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import SwiftPlantUMLFramework
3 |
4 | extension SwiftPlantUML {
5 | struct Version: ParsableCommand {
6 | static let configuration = CommandConfiguration(abstract: "Display the current version of SwiftUML")
| |- note: annotate 'configuration' 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
7 |
8 | static var value: String { SwiftPlantUMLFramework.Version.current.value }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
[171/178] Compiling swiftplantuml main.swift
[172/178] Compiling swiftplantuml Logger.swift
[173/178] Compiling swiftplantuml ClassDiagram.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/ClassDiagram.swift:8:20: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension SwiftPlantUML {
7 | struct ClassDiagram: ParsableCommand {
8 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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 | commandName: "classdiagram",
10 | abstract: "Generate PlantUML script and view it and diagram in browser",
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/ClassDiagram.swift:84:1: warning: extension declares a conformance of imported type 'ClassDiagramOutput' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftPlantUMLFramework' introduce this conformance in the future
82 | }
83 |
84 | extension ClassDiagramOutput: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'ClassDiagramOutput' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftPlantUMLFramework' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
85 |
86 | enum ExtensionVisualization: EnumerableFlag {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| |- warning: static property 'shared' 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 '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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/ClassDiagram.swift:39:20: warning: reference to static property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | mutating func run() {
39 | Logger.shared = BeaverLogger.create(verbose: verbose, classDiagramOutput: output)
| `- warning: reference to static property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | var allPaths: [String]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: note: static property declared here
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| `- note: static property declared here
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/ClassDiagram.swift:65:20: warning: reference to static property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | Logger.shared.info("SDK: \(sdk ?? "no SDK path provided")")
| `- warning: reference to static property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | let directory = FileManager.default.currentDirectoryPath // "/Users/d041771/git/__Private/SwiftPlantUML"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Logging/Logger.swift:77:23: note: static property declared here
75 | public enum Logger {
76 | /// singleton to access logger througout the SwiftPlantUMLFramework
77 | public static var shared: Logging = NoLogger()
| `- note: static property declared here
78 | }
79 |
[174/178] Compiling swiftplantuml SwiftPlantUML.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/SwiftPlantUML.swift:8:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | // Customize your command's help and subcommands by implementing the
7 | // `configuration` property.
8 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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 | // Optional abstracts and discussions are used for help output.
10 | commandName: "swiftplantuml",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
[175/178] Emitting module swiftplantuml
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/ClassDiagram.swift:8:20: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension SwiftPlantUML {
7 | struct ClassDiagram: ParsableCommand {
8 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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 | commandName: "classdiagram",
10 | abstract: "Generate PlantUML script and view it and diagram in browser",
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/ClassDiagram.swift:84:1: warning: extension declares a conformance of imported type 'ClassDiagramOutput' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftPlantUMLFramework' introduce this conformance in the future
82 | }
83 |
84 | extension ClassDiagramOutput: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'ClassDiagramOutput' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftPlantUMLFramework' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
85 |
86 | enum ExtensionVisualization: EnumerableFlag {
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/SwiftPlantUML.swift:8:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | // Customize your command's help and subcommands by implementing the
7 | // `configuration` property.
8 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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 | // Optional abstracts and discussions are used for help output.
10 | commandName: "swiftplantuml",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPlantUMLFramework/Version.swift:7:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftPlantUML version.
2 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
5 |
6 | /// The current SwiftPlantUML version.
7 | public static let current = Version(value: "0.8.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/Version.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension SwiftPlantUML {
5 | struct Version: ParsableCommand {
6 | static let configuration = CommandConfiguration(abstract: "Display the current version of SwiftUML")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | static var value: String { SwiftPlantUMLFramework.Version.current.value }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/swiftplantuml/Commands/Version.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import SwiftPlantUMLFramework
3 |
4 | extension SwiftPlantUML {
5 | struct Version: ParsableCommand {
6 | static let configuration = CommandConfiguration(abstract: "Display the current version of SwiftUML")
| |- note: annotate 'configuration' 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
7 |
8 | static var value: String { SwiftPlantUMLFramework.Version.current.value }
[175/178] Write Objects.LinkFileList
[176/178] Linking swiftplantuml
[177/178] Applying swiftplantuml
Build complete! (57.06s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/jpsim/SourceKitten
[1/2770] Fetching swxmlhash
[168/6606] Fetching swxmlhash, swiftybeaver
[169/15943] Fetching swxmlhash, swiftybeaver, yams
[1770/31907] Fetching swxmlhash, swiftybeaver, yams, sourcekitten
[2824/43586] Fetching swxmlhash, swiftybeaver, yams, sourcekitten, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (3.00s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (3.00s)
Fetched https://github.com/jpsim/SourceKitten from cache (3.00s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (3.00s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.00s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.69s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.32.0 (0.68s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.67s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 6.0.0 (0.67s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 6.0.0
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.32.0
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.5
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.0.3
Build complete.
{
"dependencies" : [
{
"identity" : "sourcekitten",
"requirement" : {
"range" : [
{
"lower_bound" : "0.31.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/SourceKitten"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swiftybeaver",
"requirement" : {
"exact" : [
"1.9.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
}
],
"manifest_display_name" : "SwiftPlantUML",
"name" : "SwiftPlantUML",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "SwiftPlantUMLFramework",
"targets" : [
"SwiftPlantUMLFramework"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftplantuml",
"targets" : [
"swiftplantuml"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swiftplantuml",
"module_type" : "SwiftTarget",
"name" : "swiftplantuml",
"path" : "Sources/swiftplantuml",
"product_dependencies" : [
"ArgumentParser",
"SwiftyBeaver"
],
"product_memberships" : [
"swiftplantuml"
],
"sources" : [
"Commands/ClassDiagram.swift",
"Commands/SwiftPlantUML.swift",
"Commands/Version.swift",
"Utilities/Logger.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftPlantUMLFramework"
],
"type" : "executable"
},
{
"c99name" : "SwiftPlantUMLFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPlantUMLFrameworkTests",
"path" : "Tests/SwiftPlantUMLFrameworkTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftPlantUMLFrameworkTests/TestData",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ClassDiagramGeneratorTests.swift",
"ColorTests.swift",
"ConfigurationProviderTests.swift",
"ConfigurationTests.swift",
"ElementAccessibilityTests.swift",
"ExtensionVisualizationTests.swift",
"FileCollectorTests.swift",
"FileOptionTests.swift",
"GlobTests.swift",
"Logger+Tests.swift",
"PageTextsTests.swift",
"PlantUMLBrowserPresenterTests.swift",
"PlantUMLConsolePresenterTests.swift",
"PlantUMLContextTests.swift",
"PlantUMLScriptTests.swift",
"PlantUMLTextTests.swift",
"RelationshipStyleTests.swift",
"StereotypeTests.swift",
"StringExtensionsTests.swift",
"SwiftPlantUMLFrameworkTests.swift",
"SyntaxStructureTests.swift",
"ThemeTests.swift",
"VersionTests.swift",
"XCTestCase+BundlePath.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftPlantUMLFramework"
],
"type" : "test"
},
{
"c99name" : "SwiftPlantUMLFramework",
"module_type" : "SwiftTarget",
"name" : "SwiftPlantUMLFramework",
"path" : "Sources/SwiftPlantUMLFramework",
"product_dependencies" : [
"SourceKittenFramework"
],
"product_memberships" : [
"SwiftPlantUMLFramework",
"swiftplantuml"
],
"sources" : [
"ClassDiagramGenerator.swift",
"Configuration/ClassDiagramOutput.swift",
"Configuration/Color.swift",
"Configuration/Configuration.swift",
"Configuration/ConfigurationProvider.swift",
"Configuration/ElementOptions.swift",
"Configuration/ExtensionVisualization.swift",
"Configuration/FileOptions.swift",
"Configuration/PageTexts.swift",
"Configuration/RelationshipOptions.swift",
"Configuration/RelationshipStyle.swift",
"Configuration/Stereotype.swift",
"Configuration/Theme.swift",
"FileManagement/FileCollector.swift",
"FileManagement/Glob.swift",
"Internal/ConfigFileWriter.swift",
"Internal/ElementAccessibility+Extensions.swift",
"Internal/PlantUMLContext.swift",
"Internal/String+Extensions.swift",
"Internal/SyntaxStructure+Extensions.swift",
"Internal/SyntaxStructure+PlantUML.swift",
"Internal/SyntaxStructure.swift",
"Internal/SyntaxStructureProvider.swift",
"Logging/Logger.swift",
"Logging/NoLogger.swift",
"PlantUMLScript.swift",
"PlantUMLText.swift",
"Presenting/PlantUMLBrowserPresenter.swift",
"Presenting/PlantUMLConsolePresenter.swift",
"Presenting/PlantUMLPresenting.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.