Build Information
Successful build of XibLoc with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
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/Frizlab/XibLoc.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/XibLoc
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5440457 Dummy log fixes
Cloned https://github.com/Frizlab/XibLoc.git
Revision (git rev-parse @):
5440457c4b7069a570f3435c1e3467049a61141e
SUCCESS checkout https://github.com/Frizlab/XibLoc.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Frizlab/XibLoc.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/20] Write sources
[17/20] Write swift-version-6F35C1178C84523A.txt
[19/28] Compiling SwiftSyntax510 Empty.swift
[20/28] Emitting module SwiftSyntax510
[21/28] Emitting module SwiftSyntax509
[22/28] Compiling SwiftSyntax509 Empty.swift
[23/28] Compiling Logging Locks.swift
[24/28] Compiling Logging Logging.swift
[25/28] Compiling Logging LogHandler.swift
[26/28] Emitting module Logging
[27/90] Compiling SwiftSyntax AbsolutePosition.swift
[28/90] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[29/90] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[30/90] Compiling SwiftSyntax Assert.swift
[31/90] Compiling SwiftSyntax BumpPtrAllocator.swift
[32/90] Compiling SwiftSyntax CommonAncestor.swift
[33/90] Compiling SwiftSyntax Convenience.swift
[34/96] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[35/96] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[36/96] Compiling SwiftSyntax SyntaxBaseNodes.swift
[37/96] Compiling SwiftSyntax SyntaxCollections.swift
[38/96] Compiling SwiftSyntax SyntaxEnum.swift
[39/96] Compiling SwiftSyntax SyntaxKind.swift
[40/96] Compiling SwiftSyntax SyntaxRewriter.swift
[41/96] Compiling SwiftSyntax SyntaxHashable.swift
[42/96] Compiling SwiftSyntax SyntaxIdentifier.swift
[43/96] Compiling SwiftSyntax SyntaxNodeStructure.swift
[44/96] Compiling SwiftSyntax SyntaxProtocol.swift
[45/96] Compiling SwiftSyntax SyntaxText.swift
[46/96] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[47/96] Compiling SwiftSyntax TokenDiagnostic.swift
[48/96] Compiling SwiftSyntax RawSyntaxNodesC.swift
[49/96] Compiling SwiftSyntax RawSyntaxNodesD.swift
[50/96] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[51/96] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[52/96] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[53/96] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[54/96] Emitting module SwiftSyntax
[55/96] Compiling SwiftSyntax SyntaxTraits.swift
[56/96] Compiling SwiftSyntax SyntaxTransform.swift
[57/96] Compiling SwiftSyntax SyntaxVisitor.swift
[58/96] Compiling SwiftSyntax TokenKind.swift
[59/96] Compiling SwiftSyntax Tokens.swift
[60/96] Compiling SwiftSyntax TriviaPieces.swift
[61/96] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[62/96] Compiling SwiftSyntax SourceLocation.swift
[63/96] Compiling SwiftSyntax SourcePresence.swift
[64/96] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[65/96] Compiling SwiftSyntax Syntax.swift
[66/96] Compiling SwiftSyntax SyntaxArena.swift
[67/96] Compiling SwiftSyntax SyntaxChildren.swift
[68/96] Compiling SwiftSyntax SyntaxCollection.swift
[69/96] Compiling SwiftSyntax MemoryLayout.swift
[70/96] Compiling SwiftSyntax MissingNodeInitializers.swift
[71/96] Compiling SwiftSyntax RawSyntax.swift
[72/96] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[73/96] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[74/96] Compiling SwiftSyntax RawSyntaxTokenView.swift
[75/96] Compiling SwiftSyntax SourceLength.swift
[76/96] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[77/96] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[78/96] Compiling SwiftSyntax RawSyntaxValidation.swift
[79/96] Compiling SwiftSyntax SyntaxNodesAB.swift
[80/96] Compiling SwiftSyntax SyntaxNodesC.swift
[81/96] Compiling SwiftSyntax SyntaxNodesD.swift
[82/96] Compiling SwiftSyntax TokenSequence.swift
[83/96] Compiling SwiftSyntax TokenSyntax.swift
[84/96] Compiling SwiftSyntax Trivia.swift
[85/96] Compiling SwiftSyntax Utils.swift
[86/96] Compiling SwiftSyntax ChildNameForKeyPath.swift
[87/96] Compiling SwiftSyntax Keyword.swift
[88/96] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[89/96] Compiling SwiftSyntax SyntaxNodesEF.swift
[90/96] Compiling SwiftSyntax SyntaxNodesGHI.swift
[91/96] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[92/96] Compiling SwiftSyntax SyntaxNodesOP.swift
[93/96] Compiling SwiftSyntax SyntaxNodesQRS.swift
[94/96] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[95/148] Compiling SwiftDiagnostics Note.swift
[96/148] Compiling SwiftDiagnostics FixIt.swift
[97/148] Compiling SwiftDiagnostics Message.swift
[98/148] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[99/148] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[100/148] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[101/148] Compiling SwiftDiagnostics Convenience.swift
[102/148] Emitting module SwiftDiagnostics
[103/148] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[104/148] Compiling SwiftDiagnostics Diagnostic.swift
[105/148] Compiling SwiftBasicFormat Syntax+Extensions.swift
[106/148] Emitting module SwiftBasicFormat
[107/148] Compiling SwiftBasicFormat BasicFormat.swift
[108/148] Compiling SwiftParser Statements.swift
[109/148] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[110/148] Compiling SwiftParser StringLiterals.swift
[111/148] Compiling SwiftParser SwiftParserCompatibility.swift
[112/152] Compiling SwiftParser SyntaxUtils.swift
[113/152] Compiling SwiftParser TokenConsumer.swift
[114/152] Compiling SwiftParser TokenPrecedence.swift
[115/152] Compiling SwiftParser TokenSpec.swift
[116/152] Compiling SwiftParser TokenSpecSet.swift
[117/152] Compiling SwiftParser TopLevel.swift
[118/152] Compiling SwiftParser TriviaParser.swift
[119/152] Compiling SwiftParser Types.swift
[120/152] Compiling SwiftParser Attributes.swift
[121/152] Compiling SwiftParser Availability.swift
[122/152] Compiling SwiftParser CharacterInfo.swift
[123/152] Compiling SwiftParser CollectionNodes+Parsable.swift
[124/152] Compiling SwiftParser Declarations.swift
[125/152] Emitting module SwiftParser
[126/152] Compiling SwiftParser UnicodeScalarExtensions.swift
[127/152] Compiling SwiftParser Lookahead.swift
[128/152] Compiling SwiftParser LoopProgressCondition.swift
[129/152] Compiling SwiftParser Modifiers.swift
[130/152] Compiling SwiftParser Parser.swift
[131/152] Compiling SwiftParser Patterns.swift
[132/152] Compiling SwiftParser Recovery.swift
[133/152] Compiling SwiftParser Specifiers.swift
[134/152] Compiling SwiftParser Names.swift
[135/152] Compiling SwiftParser Nominals.swift
[136/152] Compiling SwiftParser Parameters.swift
[137/152] Compiling SwiftParser ParseSourceFile.swift
[138/152] Compiling SwiftParser Lexeme.swift
[139/152] Compiling SwiftParser LexemeSequence.swift
[140/152] Compiling SwiftParser Lexer.swift
[141/152] Compiling SwiftParser RegexLiteralLexer.swift
[142/152] Compiling SwiftParser Directives.swift
[143/152] Compiling SwiftParser ExperimentalFeatures.swift
[144/152] Compiling SwiftParser Expressions.swift
[145/152] Compiling SwiftParser IncrementalParseTransition.swift
[146/152] Compiling SwiftParser Cursor.swift
[147/152] Compiling SwiftParser IsLexerClassified.swift
[148/152] Compiling SwiftParser LayoutNodes+Parsable.swift
[149/152] Compiling SwiftParser Parser+TokenSpecSet.swift
[150/152] Compiling SwiftParser TokenSpecStaticMembers.swift
[151/175] Compiling SwiftOperators PrecedenceGroup.swift
[152/176] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[153/177] Compiling SwiftOperators SyntaxSynthesis.swift
[154/177] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[155/177] Compiling SwiftOperators PrecedenceGraph.swift
[156/177] Compiling SwiftParserDiagnostics Utils.swift
[157/177] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[158/177] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[159/177] Compiling SwiftOperators OperatorTable+Semantics.swift
[160/177] Compiling SwiftOperators OperatorTable.swift
[161/177] Compiling SwiftOperators OperatorError.swift
[162/177] Compiling SwiftOperators OperatorTable+Defaults.swift
[163/177] Compiling SwiftOperators Operator.swift
[164/177] Compiling SwiftOperators OperatorError+Diagnostics.swift
[165/177] Emitting module SwiftOperators
[166/177] Compiling SwiftOperators OperatorTable+Folding.swift
[167/177] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[168/177] Compiling SwiftParserDiagnostics PresenceUtils.swift
[169/177] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[170/177] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[171/177] Compiling SwiftParserDiagnostics MissingNodesError.swift
[172/177] Compiling SwiftParserDiagnostics MissingTokenError.swift
[173/177] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[174/177] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[175/177] Emitting module SwiftParserDiagnostics
[176/191] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[177/192] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[178/192] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[179/192] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[180/192] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[181/192] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[182/192] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[183/192] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[184/192] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[185/192] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[186/192] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[187/192] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[188/192] Emitting module SwiftSyntaxBuilder
[189/192] Compiling SwiftSyntaxBuilder Indenter.swift
[190/192] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[191/206] Compiling SwiftSyntaxMacros Macro.swift
[192/207] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[193/207] Compiling SwiftSyntaxMacros MemberMacro.swift
[194/207] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[195/207] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[196/207] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[197/207] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[198/207] Compiling SwiftSyntaxMacros Macro+Format.swift
[199/207] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[200/207] Compiling SwiftSyntaxMacros PeerMacro.swift
[201/207] Emitting module SwiftSyntaxMacros
[202/207] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[203/207] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[204/207] Compiling SwiftSyntaxMacros AccessorMacro.swift
[205/207] Compiling SwiftSyntaxMacros AttachedMacro.swift
[206/215] Emitting module SwiftSyntaxMacroExpansion
[207/215] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[208/215] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[209/215] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[210/215] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[211/215] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[212/215] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[213/215] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[214/222] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[215/222] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[216/222] Emitting module SwiftCompilerPluginMessageHandling
[217/222] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[218/222] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[219/222] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[220/222] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[221/224] Emitting module SwiftCompilerPlugin
[222/224] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[223/228] Compiling SafeGlobalMacros SimpleDiagnosticMessage.swift
[224/228] Compiling SafeGlobalMacros SafeGlobalMacro.swift
[225/228] Emitting module SafeGlobalMacros
[226/228] Compiling SafeGlobalMacros Errors.swift
[226/228] Write Objects.LinkFileList
[227/228] Linking SafeGlobalMacros
[229/232] Compiling SafeGlobal SafeGlobalMacro.swift
[230/232] Compiling SafeGlobal SafeGlobal.swift
[231/232] Emitting module SafeGlobal
[232/232] Compiling SafeGlobal NSLock+Linux.swift
[233/267] Compiling XibLoc ParserHelper+AttributedString.swift
[234/267] Compiling XibLoc ParserHelper+NSMutableAttributedString.swift
[235/267] Compiling XibLoc ParserHelper+String.swift
[236/267] Compiling XibLoc ParserHelper.swift
[237/270] Emitting module XibLoc
macro expansion @SafeGlobal:1:70: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:46:76: note: expanded code originates here
44 | #if canImport(os)
45 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
46 | @SafeGlobal nonisolated(unsafe) public static var oslog: OSLog? = .default
+--- macro expansion @SafeGlobal ------------------------------------
|1 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) private nonisolated (unsafe) static let _oslog: SafeGlobal<OSLog?> = SafeGlobal(wrappedValue: .default)
| | `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
47 | #endif
48 | @SafeGlobal public static var logger: Logging.Logger? = {
macro expansion @SafeGlobal:1:20: warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:75:100: note: expanded code originates here
73 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
74 | @SafeGlobal public static var defaultStr2AttrStrAttributes: AttributeContainer = .init()
75 | @SafeGlobal public static var defaultStr2NSAttrStrAttributes: [NSAttributedString.Key: Any]? = nil
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _defaultStr2NSAttrStrAttributes: SafeGlobal<[NSAttributedString.Key: Any]?> = SafeGlobal(wrappedValue: nil)
| | |- warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_defaultStr2NSAttrStrAttributes' 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
+--------------------------------------------------------------------
76 | @SafeGlobal public static var defaultBoldAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setBold)
77 | @SafeGlobal public static var defaultItalicAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setItalic)
macro expansion @SafeGlobal:1:20: warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:92:5: note: expanded code originates here
90 | c.countLimit = 1500
91 | return c
92 | }()
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _cache: SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?> = SafeGlobal(wrappedValue: {
| | |- warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_cache' 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
|2 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
|3 | c.countLimit = 1500
+--------------------------------------------------------------------
93 |
94 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SafeGlobal/Sources/SafeGlobal/SafeGlobal.swift:7:20: note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
5 |
6 | extension SafeGlobal : @unchecked Sendable where T : Sendable {}
7 | public final class SafeGlobal<T> {
| `- note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
8 |
9 | public var wrappedValue: T {
[238/270] Compiling XibLoc PluralityDefinitionZoneValueGlob.swift
[239/270] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfFloats.swift
[240/270] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfInts.swift
[241/270] Compiling XibLoc PluralityDefinitionZoneValueNumber.swift
[242/270] Compiling XibLoc XibLocNumber.swift
macro expansion @SafeGlobal:1:70: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:46:76: note: expanded code originates here
44 | #if canImport(os)
45 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
46 | @SafeGlobal nonisolated(unsafe) public static var oslog: OSLog? = .default
+--- macro expansion @SafeGlobal ------------------------------------
|1 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) private nonisolated (unsafe) static let _oslog: SafeGlobal<OSLog?> = SafeGlobal(wrappedValue: .default)
| | `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
47 | #endif
48 | @SafeGlobal public static var logger: Logging.Logger? = {
macro expansion @SafeGlobal:1:20: warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:75:100: note: expanded code originates here
73 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
74 | @SafeGlobal public static var defaultStr2AttrStrAttributes: AttributeContainer = .init()
75 | @SafeGlobal public static var defaultStr2NSAttrStrAttributes: [NSAttributedString.Key: Any]? = nil
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _defaultStr2NSAttrStrAttributes: SafeGlobal<[NSAttributedString.Key: Any]?> = SafeGlobal(wrappedValue: nil)
| | |- warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_defaultStr2NSAttrStrAttributes' 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
+--------------------------------------------------------------------
76 | @SafeGlobal public static var defaultBoldAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setBold)
77 | @SafeGlobal public static var defaultItalicAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setItalic)
macro expansion @SafeGlobal:1:20: warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:92:5: note: expanded code originates here
90 | c.countLimit = 1500
91 | return c
92 | }()
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _cache: SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?> = SafeGlobal(wrappedValue: {
| | |- warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_cache' 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
|2 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
|3 | c.countLimit = 1500
+--------------------------------------------------------------------
93 |
94 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SafeGlobal/Sources/SafeGlobal/SafeGlobal.swift:7:20: note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
5 |
6 | extension SafeGlobal : @unchecked Sendable where T : Sendable {}
7 | public final class SafeGlobal<T> {
| `- note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
8 |
9 | public var wrappedValue: T {
[243/270] Compiling XibLoc XibLoc.swift
macro expansion @SafeGlobal:1:70: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:46:76: note: expanded code originates here
44 | #if canImport(os)
45 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
46 | @SafeGlobal nonisolated(unsafe) public static var oslog: OSLog? = .default
+--- macro expansion @SafeGlobal ------------------------------------
|1 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) private nonisolated (unsafe) static let _oslog: SafeGlobal<OSLog?> = SafeGlobal(wrappedValue: .default)
| | `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
47 | #endif
48 | @SafeGlobal public static var logger: Logging.Logger? = {
macro expansion @SafeGlobal:1:20: warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:75:100: note: expanded code originates here
73 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
74 | @SafeGlobal public static var defaultStr2AttrStrAttributes: AttributeContainer = .init()
75 | @SafeGlobal public static var defaultStr2NSAttrStrAttributes: [NSAttributedString.Key: Any]? = nil
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _defaultStr2NSAttrStrAttributes: SafeGlobal<[NSAttributedString.Key: Any]?> = SafeGlobal(wrappedValue: nil)
| | |- warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_defaultStr2NSAttrStrAttributes' 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
+--------------------------------------------------------------------
76 | @SafeGlobal public static var defaultBoldAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setBold)
77 | @SafeGlobal public static var defaultItalicAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setItalic)
macro expansion @SafeGlobal:1:20: warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:92:5: note: expanded code originates here
90 | c.countLimit = 1500
91 | return c
92 | }()
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _cache: SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?> = SafeGlobal(wrappedValue: {
| | |- warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_cache' 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
|2 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
|3 | c.countLimit = 1500
+--------------------------------------------------------------------
93 |
94 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SafeGlobal/Sources/SafeGlobal/SafeGlobal.swift:7:20: note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
5 |
6 | extension SafeGlobal : @unchecked Sendable where T : Sendable {}
7 | public final class SafeGlobal<T> {
| `- note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
8 |
9 | public var wrappedValue: T {
[244/270] Compiling XibLoc XibLocConfig.swift
macro expansion @SafeGlobal:1:70: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:46:76: note: expanded code originates here
44 | #if canImport(os)
45 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *)
46 | @SafeGlobal nonisolated(unsafe) public static var oslog: OSLog? = .default
+--- macro expansion @SafeGlobal ------------------------------------
|1 | @available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) private nonisolated (unsafe) static let _oslog: SafeGlobal<OSLog?> = SafeGlobal(wrappedValue: .default)
| | `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
47 | #endif
48 | @SafeGlobal public static var logger: Logging.Logger? = {
macro expansion @SafeGlobal:1:20: warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:75:100: note: expanded code originates here
73 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
74 | @SafeGlobal public static var defaultStr2AttrStrAttributes: AttributeContainer = .init()
75 | @SafeGlobal public static var defaultStr2NSAttrStrAttributes: [NSAttributedString.Key: Any]? = nil
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _defaultStr2NSAttrStrAttributes: SafeGlobal<[NSAttributedString.Key: Any]?> = SafeGlobal(wrappedValue: nil)
| | |- warning: static property '_defaultStr2NSAttrStrAttributes' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<[NSAttributedString.Key : Any]?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_defaultStr2NSAttrStrAttributes' 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
+--------------------------------------------------------------------
76 | @SafeGlobal public static var defaultBoldAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setBold)
77 | @SafeGlobal public static var defaultItalicAttrsChangesDescription: StringAttributesChangesDescription? = .init(change: .setItalic)
macro expansion @SafeGlobal:1:20: warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:92:5: note: expanded code originates here
90 | c.countLimit = 1500
91 | return c
92 | }()
+--- macro expansion @SafeGlobal ------------------------------------
|1 | private static let _cache: SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?> = SafeGlobal(wrappedValue: {
| | |- warning: static property '_cache' is not concurrency-safe because non-'Sendable' type 'SafeGlobal<NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>?>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '_cache' 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
|2 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
|3 | c.countLimit = 1500
+--------------------------------------------------------------------
93 |
94 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SafeGlobal/Sources/SafeGlobal/SafeGlobal.swift:7:20: note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
5 |
6 | extension SafeGlobal : @unchecked Sendable where T : Sendable {}
7 | public final class SafeGlobal<T> {
| `- note: generic class 'SafeGlobal' does not conform to the 'Sendable' protocol
8 |
9 | public var wrappedValue: T {
[245/270] Compiling XibLoc MultipleWordsTokens.swift
[246/270] Compiling XibLoc OneWordTokens.swift
[247/270] Compiling XibLoc Str2AttrStrXibLocInfo.swift
[248/270] Compiling XibLoc Str2NSAttrStrXibLocInfo.swift
[249/270] Compiling XibLoc XibLocResolvingInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:35:15: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
33 | let runs = self[range].runs
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
37 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:36:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
37 | }
38 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:46:12: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | let runs = self[range].runs
45 | for r in runs {
46 | let f = r.font
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:48:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
46 | let f = r.font
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
49 | }
50 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[250/270] Compiling XibLoc AttributedString+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:35:15: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
33 | let runs = self[range].runs
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
37 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:36:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
37 | }
38 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:46:12: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | let runs = self[range].runs
45 | for r in runs {
46 | let f = r.font
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:48:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
46 | let f = r.font
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
49 | }
50 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[251/270] Compiling XibLoc Collection+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:35:15: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
33 | let runs = self[range].runs
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
37 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:36:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
37 | }
38 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:46:12: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | let runs = self[range].runs
45 | for r in runs {
46 | let f = r.font
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:48:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
46 | let f = r.font
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
49 | }
50 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[252/270] Compiling XibLoc NSMutableAttributedString+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:35:15: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
33 | let runs = self[range].runs
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
37 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:36:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
34 | for r in runs {
35 | let font = r.font ?? XibLocFont.xl_preferredFont
36 | self[r.range].font = font.fontBySetting(size: nil, isBold: bold, isItalic: italic)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
37 | }
38 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:46:12: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
44 | let runs = self[range].runs
45 | for r in runs {
46 | let f = r.font
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributedString+Utils.swift:48:4: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
46 | let f = r.font
47 | let (b, i, s) = (f?.isBold, f?.isItalic, f?.pointSize)
48 | self[r.range].font = font.fontBySetting(size: keepOriginalSize ? s : nil, isBold: keepOriginalIsBold ? b : nil, isItalic: keepOriginalIsItalic ? i : nil)
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
49 | }
50 | }
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[253/270] Compiling XibLoc CacheLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[254/270] Compiling XibLoc ParsedXibLoc+InitCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[255/270] Compiling XibLoc XibLocParsingInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[256/270] Compiling XibLoc ParsedXibLoc.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[257/270] Compiling XibLoc PluralValue.swift
[258/270] Compiling XibLoc PluralityDefinition.swift
[259/270] Compiling XibLoc PluralityDefinitionZone.swift
[260/270] Compiling XibLoc PluralityDefinitionZoneValue.swift
[261/270] Compiling XibLoc Scanner+LinuxCompat.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.BackgroundColorAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/StringAttributesChangesDescription.swift:72:49: warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |
71 | case .changeFont(newFont: let font, preserveSizes: let preserveSizes, preserveBold: let preserveBold, preserveItalic: let preserveItalic):
72 | return { attrStr, range in attrStr.setFont(font, keepOriginalSize: preserveSizes, keepOriginalIsBold: preserveBold, keepOriginalIsItalic: preserveItalic, range: range) }
| `- warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 |
74 | case .addLink(let url): return { attrStr, range in attrStr[range].link = url }
AppKit.NSFont:1:12: note: class 'NSFont' does not conform to the 'Sendable' protocol
1 | open class NSFont : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSFont' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(name fontName: String, size fontSize: CGFloat)
3 | @available(*, unavailable, renamed: "init(name:size:)", message: "Not available in Swift")
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/StringAttributesChangesDescription.swift:93:49: warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |
92 | case .changeFont(newFont: let font, preserveSizes: let preserveSizes, preserveBold: let preserveBold, preserveItalic: let preserveItalic):
93 | return { attrStr, range in attrStr.setFont(font, keepOriginalSize: preserveSizes, keepOriginalIsBold: preserveBold, keepOriginalIsItalic: preserveItalic, range: range) }
| `- warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 |
95 | case .addLink(let url): return { attrStr, range in attrStr.addAttribute(.link, value: url, range: range) }
AppKit.NSFont:1:12: note: class 'NSFont' does not conform to the 'Sendable' protocol
1 | open class NSFont : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSFont' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(name fontName: String, size fontSize: CGFloat)
3 | @available(*, unavailable, renamed: "init(name:size:)", message: "Not available in Swift")
[262/270] Compiling XibLoc StringAttributesChangesDescription.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.BackgroundColorAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/StringAttributesChangesDescription.swift:72:49: warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |
71 | case .changeFont(newFont: let font, preserveSizes: let preserveSizes, preserveBold: let preserveBold, preserveItalic: let preserveItalic):
72 | return { attrStr, range in attrStr.setFont(font, keepOriginalSize: preserveSizes, keepOriginalIsBold: preserveBold, keepOriginalIsItalic: preserveItalic, range: range) }
| `- warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 |
74 | case .addLink(let url): return { attrStr, range in attrStr[range].link = url }
AppKit.NSFont:1:12: note: class 'NSFont' does not conform to the 'Sendable' protocol
1 | open class NSFont : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSFont' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(name fontName: String, size fontSize: CGFloat)
3 | @available(*, unavailable, renamed: "init(name:size:)", message: "Not available in Swift")
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/StringAttributesChangesDescription.swift:93:49: warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |
92 | case .changeFont(newFont: let font, preserveSizes: let preserveSizes, preserveBold: let preserveBold, preserveItalic: let preserveItalic):
93 | return { attrStr, range in attrStr.setFont(font, keepOriginalSize: preserveSizes, keepOriginalIsBold: preserveBold, keepOriginalIsItalic: preserveItalic, range: range) }
| `- warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 |
95 | case .addLink(let url): return { attrStr, range in attrStr.addAttribute(.link, value: url, range: range) }
AppKit.NSFont:1:12: note: class 'NSFont' does not conform to the 'Sendable' protocol
1 | open class NSFont : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSFont' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(name fontName: String, size fontSize: CGFloat)
3 | @available(*, unavailable, renamed: "init(name:size:)", message: "Not available in Swift")
[263/270] Compiling XibLoc XibLocFont.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.BackgroundColorAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/StringAttributesChangesDescription.swift:72:49: warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |
71 | case .changeFont(newFont: let font, preserveSizes: let preserveSizes, preserveBold: let preserveBold, preserveItalic: let preserveItalic):
72 | return { attrStr, range in attrStr.setFont(font, keepOriginalSize: preserveSizes, keepOriginalIsBold: preserveBold, keepOriginalIsItalic: preserveItalic, range: range) }
| `- warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 |
74 | case .addLink(let url): return { attrStr, range in attrStr[range].link = url }
AppKit.NSFont:1:12: note: class 'NSFont' does not conform to the 'Sendable' protocol
1 | open class NSFont : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSFont' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(name fontName: String, size fontSize: CGFloat)
3 | @available(*, unavailable, renamed: "init(name:size:)", message: "Not available in Swift")
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/StringAttributesChangesDescription.swift:93:49: warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |
92 | case .changeFont(newFont: let font, preserveSizes: let preserveSizes, preserveBold: let preserveBold, preserveItalic: let preserveItalic):
93 | return { attrStr, range in attrStr.setFont(font, keepOriginalSize: preserveSizes, keepOriginalIsBold: preserveBold, keepOriginalIsItalic: preserveItalic, range: range) }
| `- warning: capture of 'font' with non-sendable type 'XibLocFont' (aka 'NSFont') in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 |
95 | case .addLink(let url): return { attrStr, range in attrStr.addAttribute(.link, value: url, range: range) }
AppKit.NSFont:1:12: note: class 'NSFont' does not conform to the 'Sendable' protocol
1 | open class NSFont : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSFont' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(name fontName: String, size fontSize: CGFloat)
3 | @available(*, unavailable, renamed: "init(name:size:)", message: "Not available in Swift")
[264/270] Compiling XibLoc NumberFormatter+Utils.swift
[265/270] Compiling XibLoc RandomAccessCollection+StableSort.swift
[266/270] Compiling XibLoc Range+Utils.swift
[267/270] Compiling XibLoc Str2StrXibLocInfo.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Resolving Info/Tokens Group/CommonTokensGroup.swift:185:25: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
183 | public var str2AttrStrXibLocInfo: Str2AttrStrXibLocInfo {
184 | var defaultAttributes = baseAttributes
185 | if let f = baseFont {defaultAttributes.font = f}
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
186 | if let c = baseColor {defaultAttributes.foregroundColor = c}
187 |
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[268/270] Compiling XibLoc CommonTokensGroup.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Resolving Info/Tokens Group/CommonTokensGroup.swift:185:25: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
183 | public var str2AttrStrXibLocInfo: Str2AttrStrXibLocInfo {
184 | var defaultAttributes = baseAttributes
185 | if let f = baseFont {defaultAttributes.font = f}
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
186 | if let c = baseColor {defaultAttributes.foregroundColor = c}
187 |
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[269/270] Compiling XibLoc CommonTokensGroup_Linux.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Resolving Info/Tokens Group/CommonTokensGroup.swift:185:25: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
183 | public var str2AttrStrXibLocInfo: Str2AttrStrXibLocInfo {
184 | var defaultAttributes = baseAttributes
185 | if let f = baseFont {defaultAttributes.font = f}
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
186 | if let c = baseColor {defaultAttributes.foregroundColor = c}
187 |
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[270/270] Compiling XibLoc TokensGroup.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Resolving Info/Tokens Group/CommonTokensGroup.swift:185:25: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
183 | public var str2AttrStrXibLocInfo: Str2AttrStrXibLocInfo {
184 | var defaultAttributes = baseAttributes
185 | if let f = baseFont {defaultAttributes.font = f}
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
186 | if let c = baseColor {defaultAttributes.foregroundColor = c}
187 |
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
Build complete! (78.53s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Frizlab/SafeGlobal.git
Fetching https://github.com/apple/swift-log.git
[1/153] Fetching safeglobal
[153/3506] Fetching safeglobal, swift-log
[3506/64392] Fetching safeglobal, swift-log, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.15s)
Fetched https://github.com/apple/swift-log.git from cache (4.15s)
Fetched https://github.com/Frizlab/SafeGlobal.git from cache (4.15s)
Computing version for https://github.com/Frizlab/SafeGlobal.git
Computed https://github.com/Frizlab/SafeGlobal.git at 0.3.0 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.98s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.1 (0.80s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
Creating working copy for https://github.com/Frizlab/SafeGlobal.git
Working copy of https://github.com/Frizlab/SafeGlobal.git resolved at 0.3.0
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "safeglobal",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/SafeGlobal.git"
}
],
"manifest_display_name" : "XibLoc",
"name" : "XibLoc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "XibLoc",
"targets" : [
"XibLoc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XibLocTests",
"module_type" : "SwiftTarget",
"name" : "XibLocTests",
"path" : "Tests/XibLocTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XibLocTests/Helpers/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"AttrStrTests.swift",
"AttributedStringUtilsTests.swift",
"Helpers/PluralityDefinition+Utils.swift",
"Helpers/Utils.swift",
"Helpers/XibLoc4ObjCHelper.swift",
"PluralityTests.swift",
"XibLocResolvingInfoTests.swift",
"XibLocTestsSwiftAttrStr.swift",
"XibLocTestsSwiftNSAttrStr.swift",
"XibLocTestsSwiftStr.swift"
],
"target_dependencies" : [
"XibLoc"
],
"type" : "test"
},
{
"c99name" : "XibLoc",
"module_type" : "SwiftTarget",
"name" : "XibLoc",
"path" : "Sources/XibLoc",
"product_dependencies" : [
"Logging",
"SafeGlobal"
],
"product_memberships" : [
"XibLoc"
],
"sources" : [
"Cache/CacheLock.swift",
"Cache/ParsedXibLoc+InitCache.swift",
"Cache/XibLocParsingInfo.swift",
"Parser/ParsedXibLoc.swift",
"Parser/ParserHelper+AttributedString.swift",
"Parser/ParserHelper+NSMutableAttributedString.swift",
"Parser/ParserHelper+String.swift",
"Parser/ParserHelper.swift",
"Plurality/PluralValue.swift",
"Plurality/PluralityDefinition.swift",
"Plurality/PluralityDefinitionZone.swift",
"Plurality/PluralityDefinitionZoneValue.swift",
"Plurality/PluralityDefinitionZoneValueGlob.swift",
"Plurality/PluralityDefinitionZoneValueIntervalOfFloats.swift",
"Plurality/PluralityDefinitionZoneValueIntervalOfInts.swift",
"Plurality/PluralityDefinitionZoneValueNumber.swift",
"Resolving Info/MultipleWordsTokens.swift",
"Resolving Info/OneWordTokens.swift",
"Resolving Info/Str2AttrStrXibLocInfo.swift",
"Resolving Info/Str2NSAttrStrXibLocInfo.swift",
"Resolving Info/Str2StrXibLocInfo.swift",
"Resolving Info/Tokens Group/CommonTokensGroup.swift",
"Resolving Info/Tokens Group/CommonTokensGroup_Linux.swift",
"Resolving Info/Tokens Group/TokensGroup.swift",
"Resolving Info/XibLocResolvingInfo.swift",
"Utilities/AttributedString+Utils.swift",
"Utilities/Collection+Utils.swift",
"Utilities/NSMutableAttributedString+Utils.swift",
"Utilities/NumberFormatter+Utils.swift",
"Utilities/RandomAccessCollection+StableSort.swift",
"Utilities/Range+Utils.swift",
"Utilities/Scanner+LinuxCompat.swift",
"Utilities/StringAttributesChangesDescription.swift",
"Utilities/XibLocFont.swift",
"Utilities/XibLocNumber.swift",
"XibLoc.swift",
"XibLocConfig.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.