Build Information
Successful build of XibLoc, reference 2.0.0-beta.3 (d87c79), with Swift 6.0 for macOS (SPM) on 31 Jan 2026 08:27:07 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/XibLoc.git
Reference: 2.0.0-beta.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/XibLoc
* tag 2.0.0-beta.3 -> FETCH_HEAD
HEAD is now at d87c793 Make init of AttributesChanger_Font public
Cloned https://github.com/Frizlab/XibLoc.git
Revision (git rev-parse @):
d87c79397f5b7e9935e9d957fc6263db064cb5d9
SUCCESS checkout https://github.com/Frizlab/XibLoc.git at 2.0.0-beta.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Frizlab/XibLoc.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/25] Write sources
[21/25] Write swift-version-5BDAB9E9C0126B9D.txt
[23/43] Emitting module SwiftSyntax601
[24/43] Emitting module SwiftSyntax509
[25/43] Compiling SwiftSyntax509 Empty.swift
[26/43] Compiling SwiftSyntax601 Empty.swift
[27/43] Emitting module SwiftSyntax602
[28/43] Compiling SwiftSyntax602 Empty.swift
[29/43] Emitting module SwiftSyntax510
[30/43] Compiling SwiftSyntax600 Empty.swift
[31/43] Compiling SwiftSyntax510 Empty.swift
[32/43] Emitting module SwiftSyntax600
[33/43] Compiling ServiceContextModule ServiceContextKey.swift
[34/43] Emitting module ServiceContextModule
[35/43] Compiling ServiceContextModule ServiceContext.swift
[35/43] Compiling _SwiftSyntaxCShims PlatformMutex.c
[37/107] Compiling Logging MetadataProvider.swift
[38/107] Emitting module Logging
[39/107] Compiling Logging Locks.swift
[40/107] Compiling Logging LogHandler.swift
[41/107] Compiling Logging Logging.swift
[42/107] Compiling SwiftSyntax SyntaxProtocol.swift
[43/107] Compiling SwiftSyntax SyntaxText.swift
[44/107] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[45/107] Compiling SwiftSyntax TokenDiagnostic.swift
[46/107] Compiling SwiftSyntax TokenSequence.swift
[47/107] Compiling SwiftSyntax TokenSyntax.swift
[48/107] Compiling SwiftSyntax Trivia.swift
[49/114] Compiling SwiftSyntax AbsolutePosition.swift
[50/114] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[51/114] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[52/114] Compiling SwiftSyntax Assert.swift
[53/114] Compiling SwiftSyntax BumpPtrAllocator.swift
[54/114] Compiling SwiftSyntax CommonAncestor.swift
[55/114] Compiling SwiftSyntax Convenience.swift
[56/114] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[57/114] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[58/114] Compiling SwiftSyntax RawSyntaxTokenView.swift
[59/114] Compiling SwiftSyntax SourceEdit.swift
[60/114] Compiling SwiftSyntax SourceLength.swift
[61/114] Compiling SwiftSyntax SourceLocation.swift
[62/114] Compiling SwiftSyntax SourcePresence.swift
[63/114] Compiling SwiftSyntax CustomTraits.swift
[64/114] Compiling SwiftSyntax EditorPlaceholder.swift
[65/114] Compiling SwiftSyntax Identifier.swift
[66/114] Compiling SwiftSyntax MemoryLayout.swift
[67/114] Compiling SwiftSyntax MissingNodeInitializers.swift
[68/114] Compiling SwiftSyntax RawSyntax.swift
[69/114] Compiling SwiftSyntax RawSyntaxArena.swift
[70/114] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[71/114] Compiling SwiftSyntax Syntax.swift
[72/114] Compiling SwiftSyntax SyntaxChildren.swift
[73/114] Compiling SwiftSyntax SyntaxCollection.swift
[74/114] Compiling SwiftSyntax SyntaxHashable.swift
[75/114] Compiling SwiftSyntax SyntaxIdentifier.swift
[76/114] Compiling SwiftSyntax SyntaxNodeStructure.swift
[77/114] Emitting module SwiftSyntax
[78/114] Compiling SwiftSyntax Tokens.swift
[79/114] Compiling SwiftSyntax TriviaPieces.swift
[80/114] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[81/114] Compiling SwiftSyntax RawSyntaxNodesC.swift
[82/114] Compiling SwiftSyntax RawSyntaxNodesD.swift
[83/114] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[84/114] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[85/114] Compiling SwiftSyntax SyntaxCollections.swift
[86/114] Compiling SwiftSyntax SyntaxEnum.swift
[87/114] Compiling SwiftSyntax SyntaxKind.swift
[88/114] Compiling SwiftSyntax SyntaxRewriter.swift
[89/114] Compiling SwiftSyntax SyntaxTraits.swift
[90/114] Compiling SwiftSyntax SyntaxVisitor.swift
[91/114] Compiling SwiftSyntax TokenKind.swift
[92/114] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[93/114] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[94/114] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[95/114] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[96/114] Compiling SwiftSyntax RawSyntaxValidation.swift
[97/114] Compiling SwiftSyntax SyntaxNodesAB.swift
[98/114] Compiling SwiftSyntax SyntaxNodesC.swift
[99/114] Compiling SwiftSyntax Utils.swift
[100/114] Compiling SwiftSyntax ChildNameForKeyPath.swift
[101/114] Compiling SwiftSyntax Keyword.swift
[102/114] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[103/114] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[104/114] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[105/114] Compiling SwiftSyntax SyntaxBaseNodes.swift
[106/114] Compiling SwiftSyntax SyntaxNodesD.swift
[107/114] Compiling SwiftSyntax SyntaxNodesEF.swift
[108/114] Compiling SwiftSyntax SyntaxNodesGHI.swift
[109/114] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[110/114] Compiling SwiftSyntax SyntaxNodesOP.swift
[111/114] Compiling SwiftSyntax SyntaxNodesQRS.swift
[112/114] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[113/174] Compiling SwiftDiagnostics Message.swift
[114/174] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[115/174] Compiling SwiftDiagnostics FixIt.swift
[116/175] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[117/175] Compiling SwiftBasicFormat InferIndentation.swift
[118/175] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[119/175] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[120/175] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[121/175] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[122/175] Compiling SwiftDiagnostics Diagnostic.swift
[123/175] Emitting module SwiftDiagnostics
[124/175] Compiling SwiftDiagnostics Convenience.swift
[125/175] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[126/175] Compiling SwiftDiagnostics Note.swift
[127/175] Compiling SwiftBasicFormat Indenter.swift
[128/175] Emitting module SwiftBasicFormat
[129/175] Compiling SwiftBasicFormat Syntax+Extensions.swift
[130/175] Compiling SwiftBasicFormat BasicFormat.swift
[131/175] Compiling SwiftParser TopLevel.swift
[132/175] Compiling SwiftParser TriviaParser.swift
[133/175] Compiling SwiftParser Types.swift
[134/175] Compiling SwiftParser ExperimentalFeatures.swift
[135/179] Compiling SwiftParser StringLiterals.swift
[136/179] Compiling SwiftParser SwiftParserCompatibility.swift
[137/179] Compiling SwiftParser SwiftVersion.swift
[138/179] Compiling SwiftParser SyntaxUtils.swift
[139/179] Compiling SwiftParser TokenConsumer.swift
[140/179] Compiling SwiftParser TokenPrecedence.swift
[141/179] Compiling SwiftParser TokenSpec.swift
[142/179] Compiling SwiftParser TokenSpecSet.swift
[143/179] Compiling SwiftParser RegexLiteralLexer.swift
[144/179] Compiling SwiftParser UnicodeScalarExtensions.swift
[145/179] Compiling SwiftParser Lookahead.swift
[146/179] Compiling SwiftParser LoopProgressCondition.swift
[147/179] Compiling SwiftParser Modifiers.swift
[148/179] Emitting module SwiftParser
[149/179] Compiling SwiftParser Names.swift
[150/179] Compiling SwiftParser Nominals.swift
[151/179] Compiling SwiftParser Parameters.swift
[152/179] Compiling SwiftParser ParseSourceFile.swift
[153/179] Compiling SwiftParser Parser.swift
[154/179] Compiling SwiftParser Patterns.swift
[155/179] Compiling SwiftParser Recovery.swift
[156/179] Compiling SwiftParser Specifiers.swift
[157/179] Compiling SwiftParser Statements.swift
[158/179] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[159/179] Compiling SwiftParser IsValidIdentifier.swift
[160/179] Compiling SwiftParser Cursor.swift
[161/179] Compiling SwiftParser Lexeme.swift
[162/179] Compiling SwiftParser LexemeSequence.swift
[163/179] Compiling SwiftParser Lexer.swift
[164/179] Compiling SwiftParser Attributes.swift
[165/179] Compiling SwiftParser Availability.swift
[166/179] Compiling SwiftParser CharacterInfo.swift
[167/179] Compiling SwiftParser CollectionNodes+Parsable.swift
[168/179] Compiling SwiftParser CompilerFiles.swift
[169/179] Compiling SwiftParser Declarations.swift
[170/179] Compiling SwiftParser Directives.swift
[171/179] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[172/179] Compiling SwiftParser Expressions.swift
[173/179] Compiling SwiftParser IncrementalParseTransition.swift
[174/179] Compiling SwiftParser IsLexerClassified.swift
[175/179] Compiling SwiftParser LayoutNodes+Parsable.swift
[176/179] Compiling SwiftParser Parser+TokenSpecSet.swift
[177/179] Compiling SwiftParser TokenSpecStaticMembers.swift
[178/202] Compiling SwiftOperators Operator.swift
[179/202] Compiling SwiftOperators OperatorError+Diagnostics.swift
[180/203] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[181/204] Compiling SwiftOperators PrecedenceGroup.swift
[182/204] Compiling SwiftOperators OperatorTable.swift
[183/204] Compiling SwiftOperators OperatorTable+Defaults.swift
[184/204] Compiling SwiftOperators PrecedenceGraph.swift
[185/204] Compiling SwiftOperators SyntaxSynthesis.swift
[186/204] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[187/204] Emitting module SwiftOperators
[188/204] Compiling SwiftOperators OperatorTable+Semantics.swift
[189/204] Compiling SwiftOperators OperatorTable+Folding.swift
[190/204] Compiling SwiftOperators OperatorError.swift
[191/204] Emitting module SwiftParserDiagnostics
[192/204] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[193/204] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[194/204] Compiling SwiftParserDiagnostics Utils.swift
[195/204] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[196/204] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[197/204] Compiling SwiftParserDiagnostics PresenceUtils.swift
[198/204] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[199/204] Compiling SwiftParserDiagnostics MissingNodesError.swift
[200/204] Compiling SwiftParserDiagnostics MissingTokenError.swift
[201/204] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[202/204] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[203/219] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[204/220] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[205/220] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[206/220] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[207/220] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[208/220] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[209/220] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[210/220] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[211/220] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[212/220] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[213/220] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[214/220] Emitting module SwiftSyntaxBuilder
[215/220] Compiling SwiftSyntaxBuilder Indenter.swift
[216/220] Compiling SwiftSyntaxBuilder ListBuilder.swift
[217/220] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[218/220] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[219/238] Compiling SwiftSyntaxMacros PreambleMacro.swift
[220/239] Compiling SwiftSyntaxMacros Macro.swift
[221/239] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[222/239] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[223/239] Compiling SwiftSyntaxMacros Macro+Format.swift
[224/239] Compiling SwiftSyntaxMacros AttachedMacro.swift
[225/239] Compiling SwiftSyntaxMacros BodyMacro.swift
[226/239] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[227/239] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[228/239] Compiling SwiftSyntaxMacros MemberMacro.swift
[229/239] Compiling SwiftSyntaxMacros PeerMacro.swift
[230/239] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[231/239] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[232/239] Emitting module SwiftSyntaxMacros
[233/239] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[234/239] Compiling SwiftSyntaxMacros AccessorMacro.swift
[235/239] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[236/239] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[237/239] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[238/249] Emitting module SwiftSyntaxMacroExpansion
[239/249] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[240/249] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[241/249] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[242/249] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[243/249] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[244/249] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[245/249] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[246/249] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[247/249] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[248/261] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[249/262] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[250/262] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[251/262] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[252/262] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[253/262] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[254/262] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[255/262] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[256/262] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[257/262] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[258/262] Emitting module SwiftCompilerPluginMessageHandling
[259/262] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[260/262] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[261/264] Emitting module SwiftCompilerPlugin
[262/264] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[263/273] Compiling GlobalConfMacros Entrypoint.swift
[264/273] Compiling GlobalConfMacros SimpleDiagnosticMessage.swift
[265/273] Compiling GlobalConfMacros Optional+Utils.swift
[266/273] Compiling GlobalConfMacros LabeledExprSyntax+Utils.swift
[267/273] Compiling GlobalConfMacros DeclareConfNamespaceMacro.swift
[268/273] Compiling GlobalConfMacros DeclareConfAccessorMacro.swift
[269/273] Compiling GlobalConfMacros Errors.swift
[270/273] Compiling GlobalConfMacros DeclareConfMacro.swift
[271/273] Emitting module GlobalConfMacros
[271/273] Write Objects.LinkFileList
[272/273] Linking GlobalConfMacros-tool
[274/295] Compiling GlobalConfModule InjectedConf+AutoInjectableMainActor.swift
[275/295] Compiling GlobalConfModule InjectedConf+ConfKey.swift
[276/297] Compiling GlobalConfModule ConfContext+ConfKey.swift
[277/297] Compiling GlobalConfModule ConfContext+ConfKeyMainActor.swift
[278/297] Compiling GlobalConfModule ConfContext.swift
[279/297] Compiling GlobalConfModule ConfKeys.swift
[280/297] Compiling GlobalConfModule AutoInjectable.swift
[281/297] Compiling GlobalConfModule AutoInjectableMainActor.swift
[282/297] Compiling GlobalConfModule InjectedConf+AutoInjectable.swift
[283/297] Compiling GlobalConfModule Conf.swift
[284/297] Compiling GlobalConfModule ConfContext+AutoInjectable.swift
[285/297] Compiling GlobalConfModule ConfContext+AutoInjectableMainActor.swift
[286/297] Compiling GlobalConfModule 3-NamespaceKey.swift
[287/297] Compiling GlobalConfModule 4-AccessorConvenience.swift
[288/297] Emitting module GlobalConfModule
[289/297] Compiling GlobalConfModule InjectedConf+ConfKeyMainActor.swift
[290/297] Compiling GlobalConfModule InjectedConf.swift
[291/297] Compiling GlobalConfModule Conf+ConfKey.swift
[292/297] Compiling GlobalConfModule Conf+ConfKeyMainActor.swift
[293/297] Compiling GlobalConfModule Conf+withValues.swift
[294/297] Compiling GlobalConfModule ConfKey.swift
[295/297] Compiling GlobalConfModule ConfKeyMainActor.swift
[296/297] Compiling GlobalConfModule 1-ConfKey.swift
[297/297] Compiling GlobalConfModule 2-ServiceKey.swift
[298/339] Emitting module XibLoc
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributesChanger/AttributesChange_Link.swift:34:8: warning: unknown operating system for build configuration 'os'
32 |
33 | /* The link attribute exists on the OpenSource Foundation, but only for AttributedString, not for NSAttributedString. */
34 | #if os(Darwin)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'Cygwin'?
35 | extension AttributesChanger_Link : NSAttributedStringAttributesChanger {
36 | public func apply(on modified: NSMutableAttributedString, _ range: NSRange /* An ObjC range */) {
[299/343] Compiling XibLoc CacheLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:416: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.
414 |
415 | #if !USE_UTF16_OFFSETS
416 | #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.
417 | /* 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.
418 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[300/343] Compiling XibLoc ParsedXibLoc+InitCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:416: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.
414 |
415 | #if !USE_UTF16_OFFSETS
416 | #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.
417 | /* 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.
418 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[301/343] Compiling XibLoc XibLocParsingInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:416: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.
414 |
415 | #if !USE_UTF16_OFFSETS
416 | #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.
417 | /* 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.
418 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[302/343] Compiling XibLoc ParsedXibLoc.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:416: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.
414 |
415 | #if !USE_UTF16_OFFSETS
416 | #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.
417 | /* 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.
418 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[303/343] Compiling XibLoc ParserHelper+AttributedString.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:416: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.
414 |
415 | #if !USE_UTF16_OFFSETS
416 | #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.
417 | /* 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.
418 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[304/343] Compiling XibLoc NumberFormatter+Utils.swift
[305/343] Compiling XibLoc RandomAccessCollection+StableSort.swift
[306/343] Compiling XibLoc Range+Utils.swift
[307/343] Compiling XibLoc XibLocColor.swift
[308/343] Compiling XibLoc PluralityDefinitionZoneValueNumber.swift
[309/343] Compiling XibLoc MultipleWordsTokens.swift
[310/343] Compiling XibLoc OneWordTokens.swift
[311/343] Compiling XibLoc Str2AttrStrXibLocInfo.swift
[312/343] Compiling XibLoc Str2NSAttrStrXibLocInfo.swift
[313/343] Compiling XibLoc PluralityDefinitionZone.swift
[314/343] Compiling XibLoc PluralityDefinitionZoneValue.swift
[315/343] Compiling XibLoc PluralityDefinitionZoneValueGlob.swift
[316/343] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfFloats.swift
[317/343] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfInts.swift
[318/343] Compiling XibLoc AttributesContainer.swift
[319/343] Compiling XibLoc AttributesContainer_Foundation.swift
[320/343] Compiling XibLoc Collection+Utils.swift
[321/343] Compiling XibLoc NSMutableAttributedString+Utils.swift
[322/343] Compiling XibLoc AttributesChange_Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributesChanger/AttributesChange_Link.swift:34:8: warning: unknown operating system for build configuration 'os'
32 |
33 | /* The link attribute exists on the OpenSource Foundation, but only for AttributedString, not for NSAttributedString. */
34 | #if os(Darwin)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'Cygwin'?
35 | extension AttributesChanger_Link : NSAttributedStringAttributesChanger {
36 | public func apply(on modified: NSMutableAttributedString, _ range: NSRange /* An ObjC range */) {
[323/343] Compiling XibLoc AttributesChange_UnderlineStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributesChanger/AttributesChange_Link.swift:34:8: warning: unknown operating system for build configuration 'os'
32 |
33 | /* The link attribute exists on the OpenSource Foundation, but only for AttributedString, not for NSAttributedString. */
34 | #if os(Darwin)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'Cygwin'?
35 | extension AttributesChanger_Link : NSAttributedStringAttributesChanger {
36 | public func apply(on modified: NSMutableAttributedString, _ range: NSRange /* An ObjC range */) {
[324/343] Compiling XibLoc AttributesChanger.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributesChanger/AttributesChange_Link.swift:34:8: warning: unknown operating system for build configuration 'os'
32 |
33 | /* The link attribute exists on the OpenSource Foundation, but only for AttributedString, not for NSAttributedString. */
34 | #if os(Darwin)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'Cygwin'?
35 | extension AttributesChanger_Link : NSAttributedStringAttributesChanger {
36 | public func apply(on modified: NSMutableAttributedString, _ range: NSRange /* An ObjC range */) {
[325/343] Compiling XibLoc AttributesChanger_Aggregate.swift
/Users/admin/builder/spi-builder-workspace/Sources/XibLoc/Utilities/AttributesChanger/AttributesChange_Link.swift:34:8: warning: unknown operating system for build configuration 'os'
32 |
33 | /* The link attribute exists on the OpenSource Foundation, but only for AttributedString, not for NSAttributedString. */
34 | #if os(Darwin)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'Cygwin'?
35 | extension AttributesChanger_Link : NSAttributedStringAttributesChanger {
36 | public func apply(on modified: NSMutableAttributedString, _ range: NSRange /* An ObjC range */) {
[326/343] Compiling XibLoc XibLocFont.swift
[327/343] Compiling XibLoc XibLocNumber.swift
[328/343] Compiling XibLoc XibLoc.swift
[329/343] Compiling XibLoc XibLocConfig.swift
[330/343] Compiling XibLoc AttributesChange_Bold.swift
[331/343] Compiling XibLoc AttributesChange_Colors.swift
[332/343] Compiling XibLoc AttributesChange_Font.swift
[333/343] Compiling XibLoc AttributesChange_Italic.swift
[334/343] Compiling XibLoc ParserHelper+NSMutableAttributedString.swift
[335/343] Compiling XibLoc ParserHelper+String.swift
[336/343] Compiling XibLoc ParserHelper.swift
[337/343] Compiling XibLoc PluralValue.swift
[338/343] Compiling XibLoc PluralityDefinition.swift
[339/343] Compiling XibLoc Str2StrXibLocInfo.swift
[340/343] Compiling XibLoc CommonTokensGroup.swift
[341/343] Compiling XibLoc TokensGroup.swift
[342/343] Compiling XibLoc XibLocResolvingInfo.swift
[343/343] Compiling XibLoc AttributedString+Utils.swift
Build complete! (40.09s)
Fetching https://github.com/Frizlab/GlobalConfModule.git
Fetching https://github.com/apple/swift-log.git
[1/669] Fetching globalconfmodule
[644/6557] Fetching globalconfmodule, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
Fetched https://github.com/Frizlab/GlobalConfModule.git from cache (1.22s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.4 (0.46s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.97s)
[1/73910] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.42s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.01s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.44s)
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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.9.1
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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" : "globalconfmodule",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/GlobalConfModule.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",
"GlobalConfModule"
],
"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/TokensGroup.swift",
"Resolving Info/XibLocResolvingInfo.swift",
"Utilities/AttributedString+Utils.swift",
"Utilities/AttributesChanger/AttributesChange_Bold.swift",
"Utilities/AttributesChanger/AttributesChange_Colors.swift",
"Utilities/AttributesChanger/AttributesChange_Font.swift",
"Utilities/AttributesChanger/AttributesChange_Italic.swift",
"Utilities/AttributesChanger/AttributesChange_Link.swift",
"Utilities/AttributesChanger/AttributesChange_UnderlineStyle.swift",
"Utilities/AttributesChanger/AttributesChanger.swift",
"Utilities/AttributesChanger/AttributesChanger_Aggregate.swift",
"Utilities/AttributesContainer/AttributesContainer.swift",
"Utilities/AttributesContainer/AttributesContainer_Foundation.swift",
"Utilities/Collection+Utils.swift",
"Utilities/NSMutableAttributedString+Utils.swift",
"Utilities/NumberFormatter+Utils.swift",
"Utilities/RandomAccessCollection+StableSort.swift",
"Utilities/Range+Utils.swift",
"Utilities/XibLocColor.swift",
"Utilities/XibLocFont.swift",
"Utilities/XibLocNumber.swift",
"XibLoc.swift",
"XibLocConfig.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.