Build Information
Failed to build Khac, reference 0.4.0 (7e5ed5), with Swift 6.1 for macOS (SPM) on 16 Aug 2026 20:22:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nhannht/Khac.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nhannht/Khac
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 7e5ed56 chore: release 0.4.0
Cloned https://github.com/nhannht/Khac.git
Revision (git rev-parse @):
7e5ed5638c0c2f743beb02a2b5181a12f7281ba7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nhannht/Khac.git at 0.4.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/nhannht/Khac.git
https://github.com/nhannht/Khac.git
{
"dependencies" : [
],
"manifest_display_name" : "Khac",
"name" : "Khac",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Khac",
"targets" : [
"Khac"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "khac",
"targets" : [
"KhacCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "KhacTests",
"module_type" : "SwiftTarget",
"name" : "KhacTests",
"path" : "Tests/KhacTests",
"sources" : [
"BackwardsRangeTests.swift",
"CompactRangeTests.swift",
"CoreTests.swift",
"DayShiftPrefixTests.swift",
"DaySuffixWordTests.swift",
"EraSuffixNormalizationTests.swift",
"GatedRangeConnectorTests.swift",
"HyphenatedIdentifierTests.swift",
"ISORejectionTests.swift",
"KnownFailure.swift",
"LocalePrefixWordsTests.swift",
"MergeDateTimeCertaintyTests.swift",
"MergingRefinerTests.swift",
"MonthNameFormsTests.swift",
"NormalizationTests.swift",
"Oracle/DE/DEAllCases.swift",
"Oracle/DE/DEOracleTests.swift",
"Oracle/DE/DeCasualCases.swift",
"Oracle/DE/DeDashCases.swift",
"Oracle/DE/DeMonthNameLittleEndianCases.swift",
"Oracle/DE/DeTimeExpCases.swift",
"Oracle/DE/DeTimeUnitsCasualRelativeCases.swift",
"Oracle/DE/DeTimeUnitsWithinCases.swift",
"Oracle/DE/DeWeekdayCases.swift",
"Oracle/DE/DeYearCases.swift",
"Oracle/EN/AllCases.swift",
"Oracle/EN/CasualCases.swift",
"Oracle/EN/ENOracleSmokeTests.swift",
"Oracle/EN/ENOracleTests.swift",
"Oracle/EN/GeneralCases.swift",
"Oracle/EN/ISOCases.swift",
"Oracle/EN/MergingRelativeDatesCases.swift",
"Oracle/EN/MonthCases.swift",
"Oracle/EN/MonthNameLittleEndianCases.swift",
"Oracle/EN/MonthNameMiddleEndianCases.swift",
"Oracle/EN/NegativeCases.swift",
"Oracle/EN/RelativeCases.swift",
"Oracle/EN/SlashCases.swift",
"Oracle/EN/TimeExpressionCases.swift",
"Oracle/EN/TimeUnitsAgoCases.swift",
"Oracle/EN/TimeUnitsCasualRelativeCases.swift",
"Oracle/EN/TimeUnitsLaterCases.swift",
"Oracle/EN/TimeUnitsWithinCases.swift",
"Oracle/EN/WeekdayCases.swift",
"Oracle/EN/YearCases.swift",
"Oracle/EN/YearMonthDayCases.swift",
"Oracle/ES/ESAllCases.swift",
"Oracle/ES/ESOracleTests.swift",
"Oracle/ES/EsCasualCases.swift",
"Oracle/ES/EsMonthNameLittleEndianCases.swift",
"Oracle/ES/EsSlashCases.swift",
"Oracle/ES/EsTimeExpCases.swift",
"Oracle/ES/EsTimeUnitsWithinCases.swift",
"Oracle/FI/FIAllCases.swift",
"Oracle/FI/FIOracleTests.swift",
"Oracle/FI/FiCasualCases.swift",
"Oracle/FI/FiCasualTimeCases.swift",
"Oracle/FI/FiMonthNameLittleEndianCases.swift",
"Oracle/FI/FiTimeExpCases.swift",
"Oracle/FI/FiTimeUnitsAgoCases.swift",
"Oracle/FI/FiTimeUnitsCasualRelativeCases.swift",
"Oracle/FI/FiTimeUnitsWithinCases.swift",
"Oracle/FI/FiWeekdayCases.swift",
"Oracle/FR/FRAllCases.swift",
"Oracle/FR/FROracleTests.swift",
"Oracle/FR/FrCasualCases.swift",
"Oracle/FR/FrLittleEndianCases.swift",
"Oracle/FR/FrSlashCases.swift",
"Oracle/FR/FrTimeExpCases.swift",
"Oracle/FR/FrTimeUnitsAgoCases.swift",
"Oracle/FR/FrTimeUnitsCasualRelativeCases.swift",
"Oracle/FR/FrTimeUnitsWithinCases.swift",
"Oracle/FR/FrWeekdayCases.swift",
"Oracle/IT/ITAllCases.swift",
"Oracle/IT/ITOracleTests.swift",
"Oracle/IT/ItCasualCases.swift",
"Oracle/IT/ItInterStdCases.swift",
"Oracle/IT/ItMergingRelativeDatesCases.swift",
"Oracle/IT/ItMonthCases.swift",
"Oracle/IT/ItMonthNameLittleEndianCases.swift",
"Oracle/IT/ItMonthNameMiddleEndianCases.swift",
"Oracle/IT/ItNegativeCasesCases.swift",
"Oracle/IT/ItRelativeCases.swift",
"Oracle/IT/ItRootCases.swift",
"Oracle/IT/ItSlashCases.swift",
"Oracle/IT/ItTimeExpCases.swift",
"Oracle/IT/ItTimeUnitsAgoCases.swift",
"Oracle/IT/ItTimeUnitsCasualRelativeCases.swift",
"Oracle/IT/ItTimeUnitsLaterCases.swift",
"Oracle/IT/ItTimeUnitsWithinCases.swift",
"Oracle/IT/ItTimezoneExpCases.swift",
"Oracle/IT/ItWeekdayCases.swift",
"Oracle/IT/ItYearCases.swift",
"Oracle/IT/ItYearMonthDayCases.swift",
"Oracle/JA/JAAllCases.swift",
"Oracle/JA/JAOracleTests.swift",
"Oracle/JA/JaCasualCases.swift",
"Oracle/JA/JaSlashDateFormatCases.swift",
"Oracle/JA/JaStandardCases.swift",
"Oracle/JA/JaTimeExpCases.swift",
"Oracle/JA/JaWeekdayCases.swift",
"Oracle/NL/NLAllCases.swift",
"Oracle/NL/NLOracleTests.swift",
"Oracle/NL/NlCasualCases.swift",
"Oracle/NL/NlMonthCases.swift",
"Oracle/NL/NlMonthNameLittleEndianCases.swift",
"Oracle/NL/NlRelativeCases.swift",
"Oracle/NL/NlSlashCases.swift",
"Oracle/NL/NlTimeExpCases.swift",
"Oracle/NL/NlTimeUnitsAgoCases.swift",
"Oracle/NL/NlTimeUnitsCasualRelativeCases.swift",
"Oracle/NL/NlTimeUnitsLaterCases.swift",
"Oracle/NL/NlTimeUnitsWithinCases.swift",
"Oracle/NL/NlWeekdayCases.swift",
"Oracle/OracleTypes.swift",
"Oracle/PT/PTAllCases.swift",
"Oracle/PT/PTOracleTests.swift",
"Oracle/PT/PtCasualCases.swift",
"Oracle/PT/PtMonthNameLittleEndianCases.swift",
"Oracle/PT/PtSlashCases.swift",
"Oracle/PT/PtTimeExpCases.swift",
"Oracle/RU/RUAllCases.swift",
"Oracle/RU/RUOracleTests.swift",
"Oracle/RU/RuCasualCases.swift",
"Oracle/RU/RuMonthCases.swift",
"Oracle/RU/RuMonthNameLittleEndianCases.swift",
"Oracle/RU/RuRelativeCases.swift",
"Oracle/RU/RuTimeExpCases.swift",
"Oracle/RU/RuTimeUnitsAgoCases.swift",
"Oracle/RU/RuTimeUnitsCasualRelativeCases.swift",
"Oracle/RU/RuTimeUnitsWithinCases.swift",
"Oracle/RU/RuWeekdayCases.swift",
"Oracle/SV/SVAllCases.swift",
"Oracle/SV/SVOracleTests.swift",
"Oracle/SV/SvCasualCases.swift",
"Oracle/SV/SvMonthNameLittleEndianCases.swift",
"Oracle/SV/SvTimeUnitsCasualRelativeCases.swift",
"Oracle/SV/SvWeekdayCases.swift",
"Oracle/UK/UKAllCases.swift",
"Oracle/UK/UKOracleTests.swift",
"Oracle/UK/UkCasualCases.swift",
"Oracle/UK/UkMonthCases.swift",
"Oracle/UK/UkMonthNameLittleEndianCases.swift",
"Oracle/UK/UkRelativeCases.swift",
"Oracle/UK/UkTimeExpCases.swift",
"Oracle/UK/UkTimeUnitsAgoCases.swift",
"Oracle/UK/UkTimeUnitsCasualRelativeCases.swift",
"Oracle/UK/UkTimeUnitsWithinCases.swift",
"Oracle/UK/UkWeekdayCases.swift",
"Oracle/ZH/ZHAllCases.swift",
"Oracle/ZH/ZHOracleTests.swift",
"Oracle/ZH/ZhHansAgoCases.swift",
"Oracle/ZH/ZhHansCasualCases.swift",
"Oracle/ZH/ZhHansDateCases.swift",
"Oracle/ZH/ZhHansDeadlineCases.swift",
"Oracle/ZH/ZhHansTimeExpCases.swift",
"Oracle/ZH/ZhHansWeekdayCases.swift",
"Oracle/ZH/ZhHantAgoCases.swift",
"Oracle/ZH/ZhHantCasualCases.swift",
"Oracle/ZH/ZhHantDateCases.swift",
"Oracle/ZH/ZhHantDeadlineCases.swift",
"Oracle/ZH/ZhHantTimeExpCases.swift",
"Oracle/ZH/ZhHantWeekdayCases.swift",
"Oracle/ZH/ZhRootCases.swift",
"OverlapFilterEquivalenceTests.swift",
"ParserTests.swift",
"PatternCacheTests.swift",
"PublicAPITests.swift",
"ReadmeExamplesTests.swift",
"ScaffoldTests.swift",
"Support/MockLocale.swift",
"TimezoneOffsetTests.swift",
"VITests.swift",
"WeekendPostfixTests.swift"
],
"target_dependencies" : [
"Khac"
],
"type" : "test"
},
{
"c99name" : "KhacCLITests",
"module_type" : "SwiftTarget",
"name" : "KhacCLITests",
"path" : "Tests/KhacCLITests",
"sources" : [
"LineIndexTests.swift"
],
"target_dependencies" : [
"KhacCLICore"
],
"type" : "test"
},
{
"c99name" : "KhacCLICore",
"module_type" : "SwiftTarget",
"name" : "KhacCLICore",
"path" : "Sources/KhacCLICore",
"product_memberships" : [
"khac"
],
"sources" : [
"Arguments.swift",
"Event.swift",
"LineIndex.swift",
"Output.swift",
"Run.swift",
"SourceLoader.swift"
],
"target_dependencies" : [
"Khac"
],
"type" : "library"
},
{
"c99name" : "KhacCLI",
"module_type" : "SwiftTarget",
"name" : "KhacCLI",
"path" : "Sources/KhacCLI",
"product_memberships" : [
"khac"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"KhacCLICore"
],
"type" : "executable"
},
{
"c99name" : "Khac",
"module_type" : "SwiftTarget",
"name" : "Khac",
"path" : "Sources/Khac",
"product_memberships" : [
"Khac",
"khac"
],
"sources" : [
"Core/Engine.swift",
"Core/Options.swift",
"Core/ParsedResult.swift",
"Core/ParsingComponents.swift",
"Core/ParsingContext.swift",
"Core/PreparedLocale.swift",
"Core/ReferencePoint.swift",
"Core/Regex/Regex.swift",
"Core/Support/ParserSupport.swift",
"Core/Support/PrecedingText.swift",
"Core/Support/RelativeDuration.swift",
"Core/Text/Normalization.swift",
"Khac.swift",
"Locales/CJK/CJKNumerals.swift",
"Locales/DE/DELocale.swift",
"Locales/DE/DEParsers.swift",
"Locales/EN/ENLocale.swift",
"Locales/EN/ENParsers.swift",
"Locales/EN/ENRefiners.swift",
"Locales/ES/ESLocale.swift",
"Locales/FI/FILocale.swift",
"Locales/FI/FIParsers.swift",
"Locales/FR/FRLocale.swift",
"Locales/IT/ITLocale.swift",
"Locales/JA/JALocale.swift",
"Locales/JA/JAParsers.swift",
"Locales/Locale.swift",
"Locales/NL/NLLocale.swift",
"Locales/PT/PTLocale.swift",
"Locales/RU/RULocale.swift",
"Locales/RU/RUParsers.swift",
"Locales/SV/SVLocale.swift",
"Locales/UK/UKLocale.swift",
"Locales/UK/UKParsers.swift",
"Locales/VI/VILocale.swift",
"Locales/ZH/ZHLocale.swift",
"Locales/ZH/ZHParsers.swift",
"Parsers/CasualDateParser.swift",
"Parsers/ISOParser.swift",
"Parsers/MonthNameParser.swift",
"Parsers/NumericDateParser.swift",
"Parsers/RelativeUnitParser.swift",
"Parsers/TimeExpressionParser.swift",
"Parsers/WeekdayParser.swift",
"Parsers/YearParser.swift",
"Refiners/ExtractTimezoneOffsetRefiner.swift",
"Refiners/ExtractYearSuffixRefiner.swift",
"Refiners/ForwardDateRefiner.swift",
"Refiners/MergeDateRangeRefiner.swift",
"Refiners/MergeDateTimeRefiner.swift",
"Refiners/MergeRelativeAnchorRefiner.swift",
"Refiners/MergeWeekdayRefiner.swift",
"Refiners/MergingRefiner.swift",
"Refiners/OverlapFilterRefiner.swift",
"Refiners/UnlikelyFilterRefiner.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[1/8] Write khac-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/59] Emitting module Khac
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
[7/59] Compiling Khac ZHLocale.swift
[8/59] Compiling Khac ZHParsers.swift
[9/59] Compiling Khac CasualDateParser.swift
[10/59] Compiling Khac ISOParser.swift
[11/59] Compiling Khac MonthNameParser.swift
[12/64] Compiling Khac ReferencePoint.swift
[13/64] Compiling Khac Regex.swift
[14/64] Compiling Khac ParserSupport.swift
[15/64] Compiling Khac PrecedingText.swift
[16/64] Compiling Khac RelativeDuration.swift
[17/64] Compiling Khac Normalization.swift
[18/64] Compiling Khac JALocale.swift
[19/64] Compiling Khac JAParsers.swift
[20/64] Compiling Khac Locale.swift
[21/64] Compiling Khac NLLocale.swift
[22/64] Compiling Khac PTLocale.swift
[23/64] Compiling Khac RULocale.swift
[24/64] Compiling Khac ENRefiners.swift
[25/64] Compiling Khac ESLocale.swift
[26/64] Compiling Khac FILocale.swift
[27/64] Compiling Khac FIParsers.swift
[28/64] Compiling Khac FRLocale.swift
[29/64] Compiling Khac ITLocale.swift
[30/64] Compiling Khac Khac.swift
[31/64] Compiling Khac CJKNumerals.swift
[32/64] Compiling Khac DELocale.swift
[33/64] Compiling Khac DEParsers.swift
[34/64] Compiling Khac ENLocale.swift
[35/64] Compiling Khac ENParsers.swift
[36/64] Compiling Khac ExtractTimezoneOffsetRefiner.swift
[37/64] Compiling Khac ExtractYearSuffixRefiner.swift
[38/64] Compiling Khac ForwardDateRefiner.swift
[39/64] Compiling Khac MergeDateRangeRefiner.swift
[40/64] Compiling Khac MergeDateTimeRefiner.swift
[41/64] Compiling Khac RUParsers.swift
[42/64] Compiling Khac SVLocale.swift
[43/64] Compiling Khac UKLocale.swift
[44/64] Compiling Khac UKParsers.swift
[45/64] Compiling Khac VILocale.swift
[46/64] Compiling Khac NumericDateParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[47/64] Compiling Khac RelativeUnitParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[48/64] Compiling Khac TimeExpressionParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[49/64] Compiling Khac WeekdayParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[50/64] Compiling Khac YearParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[51/64] Compiling Khac Engine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[52/64] Compiling Khac Options.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[53/64] Compiling Khac ParsedResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[54/64] Compiling Khac ParsingComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[55/64] Compiling Khac ParsingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[56/64] Compiling Khac PreparedLocale.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:18:16: warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// one instance each serves every parse instead of eight fresh allocations
17 | /// per locale per call.
18 | static let genericParsers: [Parser] =
| |- warning: static property 'genericParsers' is not concurrency-safe because non-'Sendable' type '[any Parser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'genericParsers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | [
20 | ISOParser(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:564:17: note: protocol 'Parser' does not conform to the 'Sendable' protocol
562 | /// Generic parsers are stateless: they read all configuration from
563 | /// `context.locale`, so a single shared instance serves every locale.
564 | public protocol Parser {
| `- note: protocol 'Parser' does not conform to the 'Sendable' protocol
565 | /// The pattern to run over `context.text` (NFC-normalized). Build it from
566 | /// `context.locale` data. Use NSRegularExpression for JS-semantic parity.
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:39:16: warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// and the range repair untangles the order; the year suffix is claimed
38 | /// after the date-time merge; and the range merge runs last of all.
39 | static let mergeRefiners: [Refiner] =
| |- warning: static property 'mergeRefiners' is not concurrency-safe because non-'Sendable' type '[any Refiner]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mergeRefiners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | [
41 | OverlapFilterRefiner(),
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Locales/Locale.swift:583:17: note: protocol 'Refiner' does not conform to the 'Sendable' protocol
581 | /// building ranges, or filtering overlaps. Refiners must be order-independent in
582 | /// their observable outcome where the spec requires it (the overlap filter).
583 | public protocol Refiner {
| `- note: protocol 'Refiner' does not conform to the 'Sendable' protocol
584 | func refine(_ context: ParsingContext, _ results: [ParsedResult]) -> [ParsedResult]
585 | }
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[57/64] Compiling Khac MergeRelativeAnchorRefiner.swift
[58/64] Compiling Khac MergeWeekdayRefiner.swift
[59/64] Compiling Khac MergingRefiner.swift
[60/64] Compiling Khac OverlapFilterRefiner.swift
[61/64] Compiling Khac UnlikelyFilterRefiner.swift
[62/71] Compiling KhacCLICore Run.swift
[63/71] Compiling KhacCLICore SourceLoader.swift
[64/71] Compiling KhacCLICore LineIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/KhacCLICore/LineIndex.swift:228:27: error: subscript 'subscript(_:)' requires the types 'String.Index' and 'Int' be equivalent
226 | let head = windowStart > 0 ? "..." : ""
227 | let tail = windowEnd < text.count ? "..." : ""
228 | return head + text[lower ..< upper] + tail
| `- error: subscript 'subscript(_:)' requires the types 'String.Index' and 'Int' be equivalent
229 | }
230 | }
Swift.String.subscript:3:10: note: where 'R.Bound' = 'String.Index'
1 | struct String {
2 | @available(*, unavailable, message: "cannot subscript String with an integer range, use a String.Index range instead.")
3 | public subscript<R>(bounds: R) -> String where R : RangeExpression, R.Bound == Int { get }}
| `- note: where 'R.Bound' = 'String.Index'
4 |
[65/71] Compiling KhacCLICore Event.swift
[66/71] Compiling KhacCLICore Output.swift
[67/71] Compiling KhacCLICore Arguments.swift
[68/71] Emitting module KhacCLICore
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/55] Compiling Khac RUParsers.swift
[3/55] Compiling Khac SVLocale.swift
[4/55] Compiling Khac UKLocale.swift
[5/55] Compiling Khac UKParsers.swift
[6/55] Compiling Khac VILocale.swift
[7/60] Compiling Khac Engine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[8/60] Compiling Khac Options.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[9/60] Compiling Khac ParsedResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[10/60] Compiling Khac ParsingComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[11/60] Compiling Khac ParsingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[12/60] Compiling Khac PreparedLocale.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Core/Engine.swift:74:17: warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
72 |
73 | for (localeIndex, prepared) in locales.enumerated() {
74 | let locale = prepared.locale
| `- warning: initialization of immutable value 'locale' was never used; consider replacing with assignment to '_' or removing it
75 | let context = ParsingContext(reference: reference, options: options, prepared: prepared, normalization: normalization)
76 | lastContext = context
[13/60] Compiling Khac ENRefiners.swift
[14/60] Compiling Khac ESLocale.swift
[15/60] Compiling Khac FILocale.swift
[16/60] Compiling Khac FIParsers.swift
[17/60] Compiling Khac FRLocale.swift
[18/60] Compiling Khac ITLocale.swift
[19/60] Compiling Khac ExtractTimezoneOffsetRefiner.swift
[20/60] Compiling Khac ExtractYearSuffixRefiner.swift
[21/60] Compiling Khac ForwardDateRefiner.swift
[22/60] Compiling Khac MergeDateRangeRefiner.swift
[23/60] Compiling Khac MergeDateTimeRefiner.swift
[24/60] Emitting module Khac
[25/60] Compiling Khac MergeRelativeAnchorRefiner.swift
[26/60] Compiling Khac MergeWeekdayRefiner.swift
[27/60] Compiling Khac MergingRefiner.swift
[28/60] Compiling Khac OverlapFilterRefiner.swift
[29/60] Compiling Khac UnlikelyFilterRefiner.swift
[30/60] Compiling Khac JALocale.swift
[31/60] Compiling Khac JAParsers.swift
[32/60] Compiling Khac Locale.swift
[33/60] Compiling Khac NLLocale.swift
[34/60] Compiling Khac PTLocale.swift
[35/60] Compiling Khac RULocale.swift
[36/60] Compiling Khac NumericDateParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[37/60] Compiling Khac RelativeUnitParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[38/60] Compiling Khac TimeExpressionParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[39/60] Compiling Khac WeekdayParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[40/60] Compiling Khac YearParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Khac/Parsers/TimeExpressionParser.swift:189:13: warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
187 | resolveRange(&start, &end)
188 |
189 | var startComponents = components(context, start)
| `- warning: variable 'startComponents' was never mutated; consider changing to 'let' constant
190 | var endComponents = components(context, end)
191 |
[41/60] Compiling Khac Khac.swift
[42/60] Compiling Khac CJKNumerals.swift
[43/60] Compiling Khac DELocale.swift
[44/60] Compiling Khac DEParsers.swift
[45/60] Compiling Khac ENLocale.swift
[46/60] Compiling Khac ENParsers.swift
[47/60] Compiling Khac ReferencePoint.swift
[48/60] Compiling Khac Regex.swift
[49/60] Compiling Khac ParserSupport.swift
[50/60] Compiling Khac PrecedingText.swift
[51/60] Compiling Khac RelativeDuration.swift
[52/60] Compiling Khac Normalization.swift
[53/60] Compiling Khac ZHLocale.swift
[54/60] Compiling Khac ZHParsers.swift
[55/60] Compiling Khac CasualDateParser.swift
[56/60] Compiling Khac ISOParser.swift
[57/60] Compiling Khac MonthNameParser.swift
[58/67] Compiling KhacCLICore SourceLoader.swift
[59/67] Compiling KhacCLICore Run.swift
[60/67] Compiling KhacCLICore Event.swift
[61/67] Compiling KhacCLICore Output.swift
[62/67] Compiling KhacCLICore LineIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/KhacCLICore/LineIndex.swift:228:27: error: subscript 'subscript(_:)' requires the types 'String.Index' and 'Int' be equivalent
226 | let head = windowStart > 0 ? "..." : ""
227 | let tail = windowEnd < text.count ? "..." : ""
228 | return head + text[lower ..< upper] + tail
| `- error: subscript 'subscript(_:)' requires the types 'String.Index' and 'Int' be equivalent
229 | }
230 | }
Swift.String.subscript:3:10: note: where 'R.Bound' = 'String.Index'
1 | struct String {
2 | @available(*, unavailable, message: "cannot subscript String with an integer range, use a String.Index range instead.")
3 | public subscript<R>(bounds: R) -> String where R : RangeExpression, R.Bound == Int { get }}
| `- note: where 'R.Bound' = 'String.Index'
4 |
[63/67] Emitting module KhacCLICore
[64/67] Compiling KhacCLICore Arguments.swift
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/ES/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/IT/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/SV/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/JA/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/DE/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/UK/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/FR/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/ZH/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/NL/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/PT/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/README.md
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/RU/extraction-report.json
/Users/admin/builder/spi-builder-workspace/Tests/KhacTests/Oracle/FI/extraction-report.json
BUILD FAILURE 6.1 macosSpm