Build Information
Successful build of Saber with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
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/apleshkov/saber.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apleshkov/saber
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 31e012b additional tests
Cloned https://github.com/apleshkov/saber.git
Revision (git rev-parse @):
31e012b672ce1a86526d45d08b4ca5c3e77053c6
SUCCESS checkout https://github.com/apleshkov/saber.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/apleshkov/saber.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/24] Write sources
[6/24] Write saber-entitlement.plist
[6/24] Write sources
[12/24] Compiling Clang_C Clang_C.m
[13/24] Compiling SourceKit SourceKit.m
[14/24] Write swift-version-6F35C1178C84523A.txt
[15/41] Compiling scanner.c
[16/41] Compiling writer.c
[17/41] Compiling parser.c
[18/41] Compiling emitter.c
[19/41] Compiling reader.c
[20/41] Compiling api.c
[22/57] Compiling PathKit PathKit.swift
[23/57] Emitting module PathKit
[24/57] Compiling AEXML Document.swift
[25/57] Emitting module AEXML
[26/57] Compiling AEXML Options.swift
[27/57] Compiling AEXML Element.swift
[28/57] Compiling AEXML Parser.swift
[29/57] Compiling AEXML Error.swift
[30/57] Compiling Yams YamlError.swift
[31/57] Compiling Yams Tag.swift
[32/57] Compiling Yams Node.Scalar.swift
[33/57] Compiling Yams Node.Sequence.swift
[34/57] Compiling Yams String+Yams.swift
[35/58] Compiling Result ResultProtocol.swift
[36/58] Compiling Result AnyError.swift
[37/58] Compiling Result NoError.swift
[38/58] Compiling Result Result.swift
[39/58] Emitting module Result
[40/58] Emitting module SWXMLHash
[41/58] Compiling SWXMLHash SWXMLHash+TypeConversion.swift
[42/58] Compiling SWXMLHash SWXMLHash.swift
[43/58] Compiling SWXMLHash shim.swift
[44/58] Compiling Yams Representer.swift
[45/58] Compiling Yams Resolver.swift
[46/58] Compiling Yams Mark.swift
[47/58] Compiling Yams Node.Mapping.swift
[48/58] Compiling Yams Node.swift
[49/58] Compiling Yams Parser.swift
[50/58] Compiling Yams Emitter.swift
[51/58] Compiling Yams Encoder.swift
[52/58] Emitting module Yams
[53/58] Compiling Yams Constructor.swift
[54/58] Compiling Yams Decoder.swift
[55/146] Compiling Yams shim.swift
[56/180] Compiling Commandant OrderedSet.swift
[57/180] Compiling Commandant Errors.swift
[58/180] Compiling Commandant ArgumentProtocol.swift
[59/180] Compiling Commandant Option.swift
[60/180] Compiling Commandant HelpCommand.swift
[61/180] Compiling Commandant Switch.swift
[62/180] Compiling Commandant Command.swift
[63/180] Emitting module Commandant
[64/180] Compiling Commandant Argument.swift
[65/180] Compiling Commandant ArgumentParser.swift
[66/180] Compiling SourceKittenFramework Text.swift
[67/180] Compiling SourceKittenFramework UID.swift
[68/180] Compiling SourceKittenFramework Version.swift
[69/183] Compiling SourceKittenFramework Clang+SourceKitten.swift
[70/183] Compiling SourceKittenFramework ClangTranslationUnit.swift
[71/183] Compiling SourceKittenFramework CodeCompletionItem.swift
[72/183] Compiling SourceKittenFramework Dictionary+Merge.swift
[73/183] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[74/183] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[75/183] Compiling SourceKittenFramework SwiftDocKey.swift
[76/183] Compiling SourceKittenFramework SwiftDocs.swift
[77/183] Compiling SourceKittenFramework Documentation.swift
[78/183] Compiling SourceKittenFramework File.swift
[79/183] Compiling SourceKittenFramework JSONOutput.swift
[80/183] Compiling SourceKittenFramework Language.swift
[81/183] Compiling xcodeproj Writable.swift
[82/183] Compiling xcodeproj XCScheme+AditionalOption.swift
[83/183] Compiling xcodeproj XCScheme+AnalyzeAction.swift
[84/183] Compiling xcodeproj XCScheme+ArchiveAction.swift
[85/183] Compiling xcodeproj XCScheme+BuildAction.swift
[86/183] Compiling xcodeproj XCScheme+BuildableProductRunnable.swift
[87/183] Compiling xcodeproj XCScheme+BuildableReference.swift
[88/183] Compiling xcodeproj XCScheme+CommandLineArguments.swift
[89/191] Compiling SourceKittenFramework SourceLocation.swift
[90/191] Compiling SourceKittenFramework StatementKind.swift
[91/191] Compiling SourceKittenFramework String+SourceKitten.swift
[92/191] Compiling SourceKittenFramework Structure.swift
[93/191] Compiling SourceKittenFramework SyntaxKind.swift
[94/191] Compiling SourceKittenFramework SyntaxMap.swift
[95/191] Compiling SourceKittenFramework SyntaxToken.swift
[96/191] Compiling SourceKittenFramework LinuxCompatibility.swift
[97/191] Compiling SourceKittenFramework Module.swift
[98/191] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[99/191] Compiling SourceKittenFramework OffsetMap.swift
[100/191] Compiling SourceKittenFramework Xcode.swift
[101/191] Compiling SourceKittenFramework library_wrapper.swift
[102/191] Compiling SourceKittenFramework library_wrapper_CXString.swift
[103/191] Compiling SourceKittenFramework Parameter.swift
[104/191] Compiling SourceKittenFramework Request.swift
[105/191] Compiling SourceKittenFramework SourceDeclaration.swift
[106/191] Compiling SourceKittenFramework SourceKitObject.swift
[107/191] Emitting module SourceKittenFramework
[108/191] Compiling SourceKittenFramework library_wrapper_Documentation.swift
[109/191] Compiling SourceKittenFramework library_wrapper_Index.swift
[110/191] Compiling SourceKittenFramework library_wrapper_sourcekitd.swift
[111/245] Compiling xcodeproj XCScheme+TestableReference.swift
[112/245] Compiling xcodeproj XCScheme.swift
[113/245] Compiling xcodeproj BuildSettingsProvider.swift
[114/245] Compiling xcodeproj CommentedString.swift
[115/245] Compiling xcodeproj Decoders.swift
[116/245] Compiling xcodeproj JSONDecoding.swift
[117/245] Compiling xcodeproj OSLogger.swift
[118/245] Compiling xcodeproj PlistValue.swift
[119/245] Compiling Saber TypeParser.swift
[120/245] Compiling Saber ParsedTypeUsage.swift
[121/245] Compiling Saber TypeUsageParser.swift
[122/245] Compiling Saber ParsedTypealias.swift
[123/245] Compiling Saber TypealiasParser.swift
[124/250] Compiling xcodeproj XCScheme+EnvironmentVariable.swift
[125/250] Compiling xcodeproj XCScheme+ExecutionAction.swift
[126/250] Compiling xcodeproj XCScheme+LaunchAction.swift
[127/250] Compiling xcodeproj XCScheme+LocationScenarioReference.swift
[128/250] Compiling xcodeproj XCScheme+ProfileAction.swift
[129/250] Compiling xcodeproj XCScheme+SerialAction.swift
[130/250] Compiling xcodeproj XCScheme+SkippedTests.swift
[131/250] Compiling xcodeproj XCScheme+TestAction.swift
[132/250] Emitting module xcodeproj
[133/250] Compiling Saber ParsedMethod.swift
[134/250] Compiling Saber NestedParsedDecl.swift
[135/250] Compiling Saber ParsedData.swift
[136/250] Compiling Saber ParsedProperty.swift
[137/250] Compiling Saber PropertyAnnotation.swift
[138/250] Compiling Saber PropertyAnnotationParser.swift
[139/250] Compiling Saber LambdaParser.swift
[140/250] Compiling Saber ParsedLambda.swift
[141/250] Compiling Saber MethodAnnotation.swift
[142/250] Compiling Saber MethodAnnotationParser.swift
[143/250] Compiling Saber MethodParser.swift
[144/250] Compiling Saber ParsedArgument.swift
[145/250] Compiling Saber PropertyParser.swift
[146/250] Compiling Saber RawData.swift
[147/250] Compiling Saber StringExtractor.swift
[148/250] Compiling Saber ParsedType.swift
[149/250] Compiling Saber TypeAnnotation.swift
[150/250] Compiling Saber TypeAnnotationParser.swift
[151/250] Compiling xcodeproj ReferenceGenerator.swift
[152/250] Compiling xcodeproj XCConfig.swift
[153/250] Compiling xcodeproj XCWorkspace.swift
[154/250] Compiling xcodeproj XCWorkspaceData.swift
[155/250] Compiling xcodeproj XCWorkspaceDataElement.swift
[156/250] Compiling xcodeproj XCWorkspaceDataElementLocationType.swift
[157/250] Compiling xcodeproj XCWorkspaceDataFileRef.swift
[158/250] Compiling xcodeproj XCWorkspaceDataGroup.swift
[159/250] Compiling Saber ParsedContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[160/250] Compiling Saber ParsedContainerExternal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[161/250] Compiling Saber Dictionary+Structure.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[162/250] Compiling Saber ExtensionParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[163/250] Compiling Saber ParsedExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[164/250] Compiling Saber FileParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[165/250] Compiling Saber Logging.swift
[166/250] Compiling Saber AnnotationParserHelper.swift
[167/250] Compiling Saber ContainerAnnotation.swift
[168/250] Compiling Saber ContainerAnnotationParser.swift
[169/250] Compiling Saber ContainerExternalParser.swift
[170/250] Compiling Saber ContainerParser.swift
[171/250] Emitting module Saber
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Throwable.swift:13:10: warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
11 | case message(String)
12 | case declCollision(name: String, modules: Set<String>)
13 | case noParsedType(for: TypeRepository.Info)
| `- warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
14 | case wrapped(Error)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift:44:19: note: consider making struct 'Info' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Info: Equatable {
| `- note: consider making struct 'Info' conform to the 'Sendable' protocol
45 | var key: Key
46 | var scopeName: ScopeName?
[198/250] Compiling Saber TypeDeclaration.swift
[199/250] Compiling Saber TypeProvider.swift
[200/250] Compiling Saber TypeRepository.swift
[201/250] Compiling Saber Container.swift
[202/250] Compiling Saber ContainerData.swift
[203/250] Compiling Saber ContainerDataFactory.swift
[204/250] Compiling Saber ContainerExternal.swift
[205/250] Compiling Saber ContainerFactory.swift
[206/250] Compiling Saber FunctionInvocationArgument.swift
[207/250] Compiling Saber TypeResolver.swift
[208/250] Compiling Saber TypeUsage.swift
[209/250] Compiling Saber ConsoleLogger.swift
[210/250] Compiling Saber LogLevel.swift
[211/250] Compiling Saber Loggable.swift
[212/250] Compiling Saber Logger.swift
[213/250] Compiling Saber Injections.swift
[214/250] Compiling Saber Service.swift
[215/250] Compiling Saber SomeType.swift
[225/250] Compiling Saber ReferenceType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Throwable.swift:13:10: warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
11 | case message(String)
12 | case declCollision(name: String, modules: Set<String>)
13 | case noParsedType(for: TypeRepository.Info)
| `- warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
14 | case wrapped(Error)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift:44:19: note: consider making struct 'Info' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Info: Equatable {
| `- note: consider making struct 'Info' conform to the 'Sendable' protocol
45 | var key: Key
46 | var scopeName: ScopeName?
[226/250] Compiling Saber Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Throwable.swift:13:10: warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
11 | case message(String)
12 | case declCollision(name: String, modules: Set<String>)
13 | case noParsedType(for: TypeRepository.Info)
| `- warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
14 | case wrapped(Error)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift:44:19: note: consider making struct 'Info' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Info: Equatable {
| `- note: consider making struct 'Info' conform to the 'Sendable' protocol
45 | var key: Key
46 | var scopeName: ScopeName?
[227/250] Compiling Saber SaberConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Throwable.swift:13:10: warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
11 | case message(String)
12 | case declCollision(name: String, modules: Set<String>)
13 | case noParsedType(for: TypeRepository.Info)
| `- warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
14 | case wrapped(Error)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift:44:19: note: consider making struct 'Info' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Info: Equatable {
| `- note: consider making struct 'Info' conform to the 'Sendable' protocol
45 | var key: Key
46 | var scopeName: ScopeName?
[228/250] Compiling Saber SaberVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Throwable.swift:13:10: warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
11 | case message(String)
12 | case declCollision(name: String, modules: Set<String>)
13 | case noParsedType(for: TypeRepository.Info)
| `- warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
14 | case wrapped(Error)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift:44:19: note: consider making struct 'Info' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Info: Equatable {
| `- note: consider making struct 'Info' conform to the 'Sendable' protocol
45 | var key: Key
46 | var scopeName: ScopeName?
[229/250] Compiling Saber Throwable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Throwable.swift:13:10: warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
11 | case message(String)
12 | case declCollision(name: String, modules: Set<String>)
13 | case noParsedType(for: TypeRepository.Info)
| `- warning: associated value 'noParsedType(for:)' of 'Sendable'-conforming enum 'Throwable' has non-sendable type 'TypeRepository.Info'; this is an error in the Swift 6 language mode
14 | case wrapped(Error)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift:44:19: note: consider making struct 'Info' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Info: Equatable {
| `- note: consider making struct 'Info' conform to the 'Sendable' protocol
45 | var key: Key
46 | var scopeName: ScopeName?
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
[248/259] Compiling SaberCLI URL+Saber.swift
[249/259] Compiling SaberCLI FileRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/FileRenderer.swift:35:13: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | let containerURL = outDir.appendingPathComponent("\($0.name).\(FileRenderer.fileSuffix)")
34 | try generated.write(to: containerURL, atomically: false, encoding: .utf8)
35 | Logger?.info("Rendered: '\(containerURL.path)'")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
[250/259] Compiling SaberCLI ConfigDecoder.swift
[251/259] Compiling SaberCLI DirectoryTraverser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/DirectoryTraverser.swift:11:13: warning: let 'fm' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Saber
10 |
11 | private let fm = FileManager.default
| |- warning: let 'fm' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | enum DirectoryTraverser {
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/DirectoryTraverser.swift:18:13: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 | var isDirectoryObjC: ObjCBool = false
17 | guard fm.fileExists(atPath: path, isDirectory: &isDirectoryObjC) else {
18 | Logger?.debug("Ignoring \(path): not exist")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 | return
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/DirectoryTraverser.swift:27:13: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | guard isDirectory else {
27 | Logger?.debug("Ignoring \(path): not a directory")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | return
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/DirectoryTraverser.swift:30:9: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | return
29 | }
30 | Logger?.info("Traversing \(path)...")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | let directoryContents = try fm.contentsOfDirectory(atPath: path)
32 | for entry in directoryContents {
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
[252/259] Emitting module SaberCLI
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/DirectoryTraverser.swift:11:13: warning: let 'fm' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Saber
10 |
11 | private let fm = FileManager.default
| |- warning: let 'fm' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | enum DirectoryTraverser {
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[253/259] Compiling SaberCLI VersionCommand.swift
[254/259] Compiling SaberCLI SaberXProject.swift
[255/259] Compiling SaberCLI SourcesCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/SourcesCommand.swift:75:13: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
73 | public func run(_ options: Options) -> Result<(), Throwable> {
74 | do {
75 | Logger?.currentLevel = try LogLevel.make(from: options.logLevel)
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | let config = options.config ?? defaultConfig
77 | let factory = ParsedDataFactory()
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/SourcesCommand.swift:80:21: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | try DirectoryTraverser.traverse(options.inputDir.path) { (path) in
79 | if path.hasSuffix(FileRenderer.fileSuffix) {
80 | Logger?.info("Ignoring '\(path)': generated by Saber")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | return
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/SourcesCommand.swift:84:21: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 | guard path.hasSuffix(".swift") else {
84 | Logger?.info("Ignoring '\(path)': not a swift file")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | return
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
[256/259] Compiling SaberCLI XcodeProjectCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: warning: var 'Logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| |- warning: var 'Logger' 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 'Logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Logger' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/XcodeProjectCommand.swift:88:13: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | public func run(_ options: Options) -> Result<(), Throwable> {
87 | do {
88 | Logger?.currentLevel = try LogLevel.make(from: options.logLevel)
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | guard options.targetNames.count > 0 else {
90 | throw Throwable.message("No targets found")
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/XcodeProjectCommand.swift:93:13: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | }
92 | let config = options.config ?? defaultConfig
93 | Logger?.info("Xcode Project: \(options.url.path)...")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | let project = try SaberXProject(path: options.url.path, targetNames: options.targetNames)
95 | let factory = ParsedDataFactory()
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/XcodeProjectCommand.swift:97:17: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | let factory = ParsedDataFactory()
96 | try project.targets.forEach { (target) in
97 | Logger?.info("Target '\(target.name)'...")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | try target.filePaths.forEach { (path) in
99 | if path.hasSuffix(FileRenderer.fileSuffix) {
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/XcodeProjectCommand.swift:100:25: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | try target.filePaths.forEach { (path) in
99 | if path.hasSuffix(FileRenderer.fileSuffix) {
100 | Logger?.info("Ignoring '\(path)': generated by Saber")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 | return
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SaberCLI/Commands/XcodeProjectCommand.swift:104:25: warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 | guard path.hasSuffix(".swift") else {
104 | Logger?.info("Ignoring '\(path)': not a swift file")
| `- warning: reference to var 'Logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | return
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saber/Logger/Logger.swift:10:12: note: var declared here
8 | import Foundation
9 |
10 | public var Logger: Logging? = nil
| `- note: var declared here
11 |
[257/261] Emitting module SaberLauncher
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
[258/261] Compiling SaberLauncher main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Yams
3 |
4 | public struct SaberConfiguration: Equatable {
| `- note: consider making struct 'SaberConfiguration' conform to the 'Sendable' protocol
5 |
6 | public var accessLevel = "internal"
:
15 | extension SaberConfiguration {
16 |
17 | public static let `default` = SaberConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SaberConfiguration' 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
18 | }
19 |
[258/261] Write Objects.LinkFileList
[259/261] Linking saber
[260/261] Applying saber
Build complete! (102.33s)
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kareman/SwiftShell
[1/4863] Fetching swiftshell
[2/5884] Fetching swiftshell, spectre
[166/7979] Fetching swiftshell, spectre, aexml
[549/9390] Fetching swiftshell, spectre, aexml, pathkit
[775/12160] Fetching swiftshell, spectre, aexml, pathkit, swxmlhash
[942/14693] Fetching swiftshell, spectre, aexml, pathkit, swxmlhash, result
[4979/30657] Fetching swiftshell, spectre, aexml, pathkit, swxmlhash, result, sourcekitten
Fetched https://github.com/antitypical/Result.git from cache (1.42s)
Fetching https://github.com/xcode-project-manager/xcodeproj.git
Fetched https://github.com/kareman/SwiftShell from cache (1.42s)
Fetched https://github.com/kylef/Spectre.git from cache (1.42s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Quick/Quick.git
Fetched https://github.com/tadija/AEXML.git from cache (1.42s)
Fetching https://github.com/Carthage/Commandant.git
[7694/20145] Fetching pathkit, swxmlhash, sourcekitten
[20146/22468] Fetching pathkit, swxmlhash, sourcekitten, commandant
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.15s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/kylef/PathKit from cache (2.15s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.15s)
[256/2323] Fetching commandant
[2324/16872] Fetching commandant, quick
[16873/26209] Fetching commandant, quick, yams
[16874/46676] Fetching commandant, quick, yams, xcodeproj
[19331/65316] Fetching commandant, quick, yams, xcodeproj, nimble
Fetched https://github.com/xcode-project-manager/xcodeproj.git from cache (3.25s)
Fetched https://github.com/Quick/Nimble.git from cache (2.65s)
[16966/26209] Fetching commandant, quick, yams
Fetched https://github.com/jpsim/Yams.git from cache (10.07s)
Fetched https://github.com/Quick/Quick.git from cache (10.07s)
Fetched https://github.com/Carthage/Commandant.git from cache (10.07s)
Computing version for https://github.com/xcode-project-manager/xcodeproj.git
Computed https://github.com/xcode-project-manager/xcodeproj.git at 6.4.0 (0.68s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.15.0 (2.32s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.22.0 (0.68s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.66s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.67s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.65s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.68s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.70s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (0.71s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.1 (0.65s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.6 (0.66s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.66s)
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.1
Creating working copy for https://github.com/xcode-project-manager/xcodeproj.git
Working copy of https://github.com/xcode-project-manager/xcodeproj.git resolved at 6.4.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.22.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.6
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.15.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.3.3
Build complete.
{
"dependencies" : [
{
"identity" : "sourcekitten",
"requirement" : {
"range" : [
{
"lower_bound" : "0.22.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/SourceKitten.git"
},
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Carthage/Commandant.git"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "6.4.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-project-manager/xcodeproj.git"
}
],
"manifest_display_name" : "Saber",
"name" : "Saber",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "saber",
"targets" : [
"SaberLauncher"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4",
"4.2"
],
"targets" : [
{
"c99name" : "SaberTests",
"module_type" : "SwiftTarget",
"name" : "SaberTests",
"path" : "Tests/SaberTests",
"sources" : [
"Generator/BasicContainerTests.swift",
"Generator/DataFactory/DataFactoryAccessorTests.swift",
"Generator/DataFactory/DataFactoryGetterTests.swift",
"Generator/DataFactory/DataFactoryInjectorTests.swift",
"Generator/DataFactory/DataFactoryInvokedTests.swift",
"Generator/DataFactory/DataFactoryMakerTests.swift",
"Generator/DataFactory/DataFactoryMemberNameTests.swift",
"Generator/Factory/FactoryBoundTests.swift",
"Generator/Factory/FactoryContainerTests.swift",
"Generator/Factory/FactoryDerivedTests.swift",
"Generator/Factory/FactoryExplicitTests.swift",
"Generator/Factory/FactoryExtensionTests.swift",
"Generator/Factory/FactoryExternalTests.swift",
"Generator/Factory/FactoryGenericTests.swift",
"Generator/Factory/FactoryInjectionHandlerTests.swift",
"Generator/Factory/FactoryLazyTests.swift",
"Generator/Factory/FactoryLazyTypealiasTests.swift",
"Generator/Factory/FactoryProvidedTests.swift",
"Generator/Generator+Tests.swift",
"Generator/ParentContainerTests.swift",
"Generator/TypeRepository/TypeRepoModuleTests.swift",
"Generator/TypeRepository/TypeRepoResolverTests.swift",
"Generator/TypeResolver/BoundTypeResolverTests.swift",
"Generator/TypeResolver/ExplicitTypeResolverTests.swift",
"Generator/TypeResolver/ProvidedTypeResolverTests.swift",
"Parser/AnnParserTests.swift",
"Parser/Container/ContainerAnnTests.swift",
"Parser/Container/ContainerParserTests.swift",
"Parser/Data/ParsedDataTests.swift",
"Parser/Extension/ExtensionParserTests.swift",
"Parser/Extension/ParsedExtension+Tests.swift",
"Parser/File/FileParser+Tests.swift",
"Parser/File/FileParserTests.swift",
"Parser/Lambda/LambdaParserTests.swift",
"Parser/Method/MethodAnnTest.swift",
"Parser/Method/MethodParserTests.swift",
"Parser/ParsedData+Tests.swift",
"Parser/Property/PropertyAnnTests.swift",
"Parser/Property/PropertyParserTests.swift",
"Parser/Type/ParsedType+Tests.swift",
"Parser/Type/TypeAnnTests.swift",
"Parser/Type/TypeParserTests.swift",
"Parser/TypeUsage/TypeUsageParserTests.swift",
"Parser/Typealias/ParsedTypealias+Tests.swift",
"Parser/Typealias/TypealiasParserTests.swift",
"Renderer/RendererBoundTests.swift",
"Renderer/RendererExplicitTests.swift",
"Renderer/RendererExternalTests.swift",
"Renderer/RendererLazyTests.swift",
"Renderer/RendererModuleTests.swift",
"Renderer/RendererTests.swift",
"SaberConfiguration+Tests.swift",
"SaberTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Saber"
],
"type" : "test"
},
{
"c99name" : "SaberLauncher",
"module_type" : "SwiftTarget",
"name" : "SaberLauncher",
"path" : "Sources/SaberLauncher",
"product_dependencies" : [
"Commandant"
],
"product_memberships" : [
"saber"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Saber",
"SaberCLI"
],
"type" : "executable"
},
{
"c99name" : "SaberCLITests",
"module_type" : "SwiftTarget",
"name" : "SaberCLITests",
"path" : "Tests/SaberCLITests",
"sources" : [
"SaberConfigurationTests.swift",
"SaberXcodeTests.swift",
"SourcesCommandTests.swift",
"TestPaths.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SaberCLI"
],
"type" : "test"
},
{
"c99name" : "SaberCLI",
"module_type" : "SwiftTarget",
"name" : "SaberCLI",
"path" : "Sources/SaberCLI",
"product_dependencies" : [
"Commandant",
"xcodeproj"
],
"product_memberships" : [
"saber"
],
"sources" : [
"Commands/SourcesCommand.swift",
"Commands/VersionCommand.swift",
"Commands/XcodeProjectCommand.swift",
"ConfigDecoder.swift",
"DirectoryTraverser.swift",
"FileRenderer.swift",
"SaberXProject.swift",
"URL+Saber.swift"
],
"target_dependencies" : [
"Saber"
],
"type" : "library"
},
{
"c99name" : "Saber",
"module_type" : "SwiftTarget",
"name" : "Saber",
"path" : "Sources/Saber",
"product_dependencies" : [
"SourceKittenFramework"
],
"product_memberships" : [
"saber"
],
"sources" : [
"Generator/Container.swift",
"Generator/ContainerData.swift",
"Generator/ContainerDataFactory.swift",
"Generator/ContainerExternal.swift",
"Generator/ContainerFactory.swift",
"Generator/FunctionInvocationArgument.swift",
"Generator/Injections.swift",
"Generator/Service.swift",
"Generator/SomeType.swift",
"Generator/TypeDeclaration.swift",
"Generator/TypeProvider.swift",
"Generator/TypeRepository.swift",
"Generator/TypeResolver.swift",
"Generator/TypeUsage.swift",
"Logger/ConsoleLogger.swift",
"Logger/LogLevel.swift",
"Logger/Loggable.swift",
"Logger/Logger.swift",
"Logger/Logging.swift",
"Parser/AnnotationParserHelper.swift",
"Parser/Container/ContainerAnnotation.swift",
"Parser/Container/ContainerAnnotationParser.swift",
"Parser/Container/ContainerExternalParser.swift",
"Parser/Container/ContainerParser.swift",
"Parser/Container/ParsedContainer.swift",
"Parser/Container/ParsedContainerExternal.swift",
"Parser/Dictionary+Structure.swift",
"Parser/Extension/ExtensionParser.swift",
"Parser/Extension/ParsedExtension.swift",
"Parser/FileParser.swift",
"Parser/Lambda/LambdaParser.swift",
"Parser/Lambda/ParsedLambda.swift",
"Parser/Method/MethodAnnotation.swift",
"Parser/Method/MethodAnnotationParser.swift",
"Parser/Method/MethodParser.swift",
"Parser/Method/ParsedArgument.swift",
"Parser/Method/ParsedMethod.swift",
"Parser/NestedParsedDecl.swift",
"Parser/ParsedData.swift",
"Parser/Property/ParsedProperty.swift",
"Parser/Property/PropertyAnnotation.swift",
"Parser/Property/PropertyAnnotationParser.swift",
"Parser/Property/PropertyParser.swift",
"Parser/RawData.swift",
"Parser/StringExtractor.swift",
"Parser/Type/ParsedType.swift",
"Parser/Type/TypeAnnotation.swift",
"Parser/Type/TypeAnnotationParser.swift",
"Parser/Type/TypeParser.swift",
"Parser/TypeUsage/ParsedTypeUsage.swift",
"Parser/TypeUsage/TypeUsageParser.swift",
"Parser/Typealias/ParsedTypealias.swift",
"Parser/Typealias/TypealiasParser.swift",
"ReferenceType.swift",
"Renderer/Renderer.swift",
"SaberConfiguration.swift",
"SaberVersion.swift",
"Throwable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.