Build Information
Failed to build PeriodDuration, reference main (146828
), with Swift 6.1 for Android on 28 May 2025 20:40:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[504/526] Compiling PeriodDuration Period+Signs.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
error: emit-module command failed with exit code 1 (use -v to see invocation)
[505/526] Emitting module PeriodDuration
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Duration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:5:16: warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| `- warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Skip.swift:2:15: note: generic struct 'Skip' does not conform to the 'Sendable' protocol
1 | /// A parser that discards the output of another parser.
2 | public struct Skip<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Skip' does not conform to the 'Sendable' protocol
3 | /// The parser from which this parser receives output.
4 | public let parsers: Parsers
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
1 | import Foundation
2 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| |- note: add '@MainActor' to make static property 'pDesignator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:14:16: warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | static let years = digitsAndUnit("Y".utf8)
| |- warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'years' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:15:16: warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
| |- warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'months' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:16:16: warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
| |- warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weeks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:17:16: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:18:16: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:19:16: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:20:16: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static let periodValues = Parse {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:22:16: warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
22 | static let periodValues = Parse {
| |- warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | years
24 | months
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:32:16: warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let durationValues = Parse {
| |- warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'durationValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | hours
34 | minutes
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:39:16: warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | .map(Duration.init(hours:minutes:seconds:))
38 |
39 | static let period = Parse {
| |- warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'period' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | pDesignator
41 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:50:16: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | static let duration = Parse {
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | pDesignator
52 | OneOf {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:59:16: warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | static let periodDuration = Parse {
| |- warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodDuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | pDesignator
61 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[506/526] Compiling PeriodDuration Duration+FoundationSupport.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[507/526] Compiling PeriodDuration Duration+ISO8601.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[508/526] Compiling PeriodDuration Duration+Signs.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[509/526] Compiling PeriodDuration Duration+Zero.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[510/526] Compiling PeriodDuration Duration.swift
[511/526] Compiling PeriodDuration Period+Codable.swift
[512/526] Compiling PeriodDuration Period+Description.swift
[513/526] Compiling PeriodDuration Period+ExpressibleByStringLiteral.swift
[514/526] Compiling PeriodDuration PeriodDuration+FoundationSupport.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[515/526] Compiling PeriodDuration PeriodDuration+ISO8601.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[516/526] Compiling PeriodDuration PeriodDuration+Signs.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[517/526] Compiling PeriodDuration PeriodDuration+Description.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[518/526] Compiling PeriodDuration PeriodDuration+ExpressibleByStringLiteral.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[519/526] Compiling PeriodDuration PeriodDuration+Formatting.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[520/526] Compiling PeriodDuration PeriodDuration+Zero.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:5:16: warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| `- warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Skip.swift:2:15: note: generic struct 'Skip' does not conform to the 'Sendable' protocol
1 | /// A parser that discards the output of another parser.
2 | public struct Skip<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Skip' does not conform to the 'Sendable' protocol
3 | /// The parser from which this parser receives output.
4 | public let parsers: Parsers
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
1 | import Foundation
2 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| |- note: add '@MainActor' to make static property 'pDesignator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:14:16: warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | static let years = digitsAndUnit("Y".utf8)
| |- warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'years' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:15:16: warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
| |- warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'months' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:16:16: warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
| |- warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weeks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:17:16: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:18:16: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:19:16: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:20:16: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static let periodValues = Parse {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:22:16: warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
22 | static let periodValues = Parse {
| |- warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | years
24 | months
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:32:16: warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let durationValues = Parse {
| |- warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'durationValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | hours
34 | minutes
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:39:16: warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | .map(Duration.init(hours:minutes:seconds:))
38 |
39 | static let period = Parse {
| |- warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'period' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | pDesignator
41 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:50:16: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | static let duration = Parse {
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | pDesignator
52 | OneOf {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:59:16: warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | static let periodDuration = Parse {
| |- warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodDuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | pDesignator
61 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[521/526] Compiling PeriodDuration PeriodDuration.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:5:16: warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| `- warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Skip.swift:2:15: note: generic struct 'Skip' does not conform to the 'Sendable' protocol
1 | /// A parser that discards the output of another parser.
2 | public struct Skip<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Skip' does not conform to the 'Sendable' protocol
3 | /// The parser from which this parser receives output.
4 | public let parsers: Parsers
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
1 | import Foundation
2 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| |- note: add '@MainActor' to make static property 'pDesignator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:14:16: warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | static let years = digitsAndUnit("Y".utf8)
| |- warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'years' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:15:16: warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
| |- warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'months' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:16:16: warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
| |- warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weeks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:17:16: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:18:16: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:19:16: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:20:16: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static let periodValues = Parse {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:22:16: warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
22 | static let periodValues = Parse {
| |- warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | years
24 | months
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:32:16: warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let durationValues = Parse {
| |- warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'durationValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | hours
34 | minutes
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:39:16: warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | .map(Duration.init(hours:minutes:seconds:))
38 |
39 | static let period = Parse {
| |- warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'period' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | pDesignator
41 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:50:16: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | static let duration = Parse {
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | pDesignator
52 | OneOf {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:59:16: warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | static let periodDuration = Parse {
| |- warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodDuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | pDesignator
61 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[522/526] Compiling PeriodDuration Utils.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:5:16: warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| `- warning: static property 'pDesignator' is not concurrency-safe because non-'Sendable' type 'Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Skip.swift:2:15: note: generic struct 'Skip' does not conform to the 'Sendable' protocol
1 | /// A parser that discards the output of another parser.
2 | public struct Skip<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Skip' does not conform to the 'Sendable' protocol
3 | /// The parser from which this parser receives output.
4 | public let parsers: Parsers
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
1 | import Foundation
2 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
3 |
4 | enum Parsers {
5 | static let pDesignator = Skip {
| |- note: add '@MainActor' to make static property 'pDesignator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | "P".utf8
7 | Not {
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:14:16: warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | static let years = digitsAndUnit("Y".utf8)
| |- warning: static property 'years' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'years' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:15:16: warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
| |- warning: static property 'months' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'months' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:16:16: warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let years = digitsAndUnit("Y".utf8)
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
| |- warning: static property 'weeks' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weeks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:17:16: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let months = digitsAndUnit("M".utf8)
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:18:16: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let weeks = digitsAndUnit("W".utf8)
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:19:16: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let days = digitsAndUnit("D".utf8)
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:20:16: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let hours = digitsAndUnit("H".utf8)
19 | static let minutes = digitsAndUnit("M".utf8)
20 | static let seconds = digitsAndUnit("S".utf8)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring.UTF8View, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static let periodValues = Parse {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:22:16: warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let seconds = digitsAndUnit("S".utf8)
21 |
22 | static let periodValues = Parse {
| |- warning: static property 'periodValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | years
24 | months
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:32:16: warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let durationValues = Parse {
| |- warning: static property 'durationValues' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'durationValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | hours
34 | minutes
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:39:16: warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | .map(Duration.init(hours:minutes:seconds:))
38 |
39 | static let period = Parse {
| |- warning: static property 'period' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, Skip<Substring.UTF8View, Optionally<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<String.UTF8View, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'period' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | pDesignator
41 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:50:16: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | static let duration = Parse {
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipFirst<ParserBuilder<Substring.UTF8View>.SkipSecond<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<Skip<Substring.UTF8View, PrefixThrough<Substring.UTF8View>>, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | pDesignator
52 | OneOf {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Parse.swift:23:15: note: generic struct 'Parse' does not conform to the 'Sendable' protocol
21 | /// // | ^ expected integer
22 | /// ```
23 | public struct Parse<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Parse' does not conform to the 'Sendable' protocol
24 | public let parsers: Parsers
25 |
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:59:16: warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | static let periodDuration = Parse {
| |- warning: static property 'periodDuration' is not concurrency-safe because non-'Sendable' type 'Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipFirst<Skip<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<String.UTF8View, Not<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.SkipSecond<ParserBuilder<Substring.UTF8View>.SkipSecond<Digits<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>, Whitespace<PartialRangeFrom<Int>, Conversions.Identity<Substring.UTF8View>>>, End<Substring.UTF8View>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int, Int)>>, Period>>, OneOf<Substring.UTF8View, (), OneOfBuilder<Substring.UTF8View, ()>.OneOf2<String.UTF8View, Parsers.ReplaceError<Skip<Substring.UTF8View, Rest<Substring.UTF8View>>>>>>, Parsers.Map<Parse<Substring.UTF8View, ParserBuilder<Substring.UTF8View>.Take2<ParserBuilder<Substring.UTF8View>.Take2<AnyParser<Substring.UTF8View, Int>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int)>, AnyParser<Substring.UTF8View, Int>>.Map<(Int, Int, Int)>>, Duration>>.Map<(Period, Duration)>>, PeriodDuration>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'periodDuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | pDesignator
61 | periodValues
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Map.swift:75:17: note: generic struct 'Map' does not conform to the 'Sendable' protocol
73 | /// You will not typically need to interact with this type directly. Instead you will usually use
74 | /// the ``Parser/map(_:)-4hsj5`` operation, which constructs this type.
75 | public struct Map<Upstream: Parser, NewOutput>: Parser {
| `- note: generic struct 'Map' does not conform to the 'Sendable' protocol
76 | /// The parser from which this parser receives output.
77 | public let upstream: Upstream
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write swift-version-24593BA9C3E375BF.txt
[3/61] Compiling SwiftSyntax601 Empty.swift
[4/61] Emitting module SwiftSyntax601
[5/62] Emitting module SwiftSyntax509
[6/62] Emitting module SwiftSyntax510
[7/62] Compiling SwiftSyntax509 Empty.swift
[8/63] Emitting module SwiftSyntax600
[9/63] Compiling SwiftSyntax600 Empty.swift
[13/63] Compiling SwiftSyntax510 Empty.swift
[14/62] Compiling IssueReporting BreakpointReporter.swift
[15/62] Compiling IssueReporting FatalErrorReporter.swift
[17/63] Compiling IssueReporting TestContext.swift
[18/63] Compiling IssueReporting Unimplemented.swift
[19/63] Compiling IssueReporting ErrorReporting.swift
[20/63] Compiling IssueReporting AppHostWarning.swift
[21/63] Compiling IssueReporting Deprecations.swift
[22/63] Compiling IssueReporting XCTest.swift
[23/63] Compiling IssueReporting IsTesting.swift
[24/63] Compiling IssueReporting IssueReporter.swift
[25/63] Compiling IssueReporting WithExpectedIssue.swift
[26/63] Compiling IssueReporting WithIssueContext.swift
[27/63] Compiling IssueReporting RuntimeWarningReporter.swift
[28/63] Compiling IssueReporting ReportIssue.swift
[29/63] Emitting module IssueReporting
[30/63] Emitting module ArgumentParserToolInfo
[31/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[33/104] Compiling SwiftSyntax Keyword.swift
[34/104] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[35/104] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[36/104] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[37/104] Compiling SwiftSyntax SyntaxBaseNodes.swift
[38/104] Compiling SwiftSyntax SyntaxCollections.swift
[40/168] Compiling XCTestDynamicOverlay Exports.swift
[41/168] Emitting module XCTestDynamicOverlay
[42/168] Compiling XCTestDynamicOverlay Deprecations.swift
[44/178] Emitting module CasePathsCore
[45/179] Compiling CasePathsCore KeyPath+Sendable.swift
[46/179] Compiling CasePathsCore Never+CasePathable.swift
[47/179] Compiling CasePathsCore TypeName.swift
[48/179] Compiling CasePathsCore UncheckedSendable.swift
[49/179] Compiling CasePathsCore Optional+CasePathable.swift
[50/179] Compiling CasePathsCore AnyCasePath.swift
[51/179] Compiling CasePathsCore CasePathIterable.swift
[52/179] Compiling CasePathsCore CasePathReflectable.swift
[53/179] Compiling CasePathsCore CasePathable.swift
[54/179] Compiling CasePathsCore Result+CasePathable.swift
[56/180] Compiling ArgumentParser Name.swift
[57/180] Compiling ArgumentParser Parsed.swift
[58/180] Compiling ArgumentParser ParsedValues.swift
[59/180] Compiling ArgumentParser ParserError.swift
[60/180] Compiling ArgumentParser SplitArguments.swift
[61/180] Compiling ArgumentParser DumpHelpGenerator.swift
[62/180] Compiling ArgumentParser HelpCommand.swift
[63/180] Compiling ArgumentParser HelpGenerator.swift
[64/180] Compiling ArgumentParser MessageInfo.swift
[65/180] Compiling ArgumentParser UsageGenerator.swift
[66/185] Emitting module ArgumentParser
[67/185] Compiling SwiftSyntax SyntaxIdentifier.swift
[68/185] Compiling SwiftSyntax SyntaxNodeFactory.swift
[69/185] Compiling SwiftSyntax SyntaxNodeStructure.swift
[70/185] Compiling SwiftSyntax SyntaxProtocol.swift
[71/185] Compiling SwiftSyntax SyntaxText.swift
[72/185] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[73/185] Compiling SwiftSyntax TokenDiagnostic.swift
[74/185] Compiling SwiftSyntax TokenSequence.swift
[75/185] Compiling SwiftSyntax TokenSyntax.swift
[76/193] Compiling ArgumentParser ArgumentDefinition.swift
[77/193] Compiling ArgumentParser ArgumentSet.swift
[78/193] Compiling ArgumentParser CommandParser.swift
[79/193] Compiling ArgumentParser InputKey.swift
[80/193] Compiling ArgumentParser InputOrigin.swift
[81/193] Compiling ArgumentParser OptionGroup.swift
[82/193] Compiling ArgumentParser AsyncParsableCommand.swift
[83/193] Compiling ArgumentParser CommandConfiguration.swift
[84/193] Compiling ArgumentParser CommandGroup.swift
[85/193] Compiling ArgumentParser EnumerableFlag.swift
[90/193] Compiling ArgumentParser NameSpecification.swift
[91/193] Compiling ArgumentParser Option.swift
[92/193] Compiling ArgumentParser ExpressibleByArgument.swift
[93/193] Compiling ArgumentParser ParsableArguments.swift
[94/193] Compiling ArgumentParser ParsableArgumentsValidation.swift
[95/193] Compiling ArgumentParser ParsableCommand.swift
[96/193] Compiling ArgumentParser ArgumentDecoder.swift
[97/193] Compiling ArgumentParser BashCompletionsGenerator.swift
[98/193] Compiling ArgumentParser CompletionsGenerator.swift
[99/193] Compiling ArgumentParser FishCompletionsGenerator.swift
[100/193] Compiling ArgumentParser ZshCompletionsGenerator.swift
[101/193] Compiling ArgumentParser Argument.swift
[102/193] Compiling ArgumentParser ArgumentHelp.swift
[103/193] Compiling ArgumentParser CollectionExtensions.swift
[104/193] Compiling ArgumentParser Platform.swift
[105/193] Compiling ArgumentParser SequenceExtensions.swift
[106/193] Compiling ArgumentParser StringExtensions.swift
[107/193] Compiling ArgumentParser Tree.swift
[109/193] Compiling SwiftSyntax SourceLocation.swift
[110/193] Compiling SwiftSyntax SourcePresence.swift
[111/193] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[112/193] Compiling SwiftSyntax Syntax.swift
[113/193] Compiling SwiftSyntax SyntaxArena.swift
[114/193] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[115/193] Compiling SwiftSyntax SyntaxChildren.swift
[116/193] Compiling SwiftSyntax SyntaxCollection.swift
[117/193] Compiling SwiftSyntax SyntaxHashable.swift
[118/209] Compiling Benchmark BenchmarkTermination.swift
[119/209] Compiling Benchmark BenchmarkTime.swift
[120/211] Compiling Benchmark BenchmarkCommand.swift
[121/211] Compiling Benchmark BenchmarkFilter.swift
[122/211] Compiling Benchmark Stats.swift
[123/211] Compiling Benchmark TestIntegration.swift
[124/211] Compiling Benchmark BenchmarkState.swift
[125/211] Compiling Benchmark BenchmarkSuite.swift
[126/211] Compiling Benchmark BenchmarkRunner.swift
[127/211] Compiling Benchmark BenchmarkSetting.swift
[128/211] Compiling Benchmark BenchmarkFormatter.swift
[129/211] Compiling Benchmark BenchmarkMain.swift
[130/211] Compiling Benchmark BenchmarkReporter.swift
[131/211] Compiling Benchmark BenchmarkResult.swift
[132/211] Compiling Benchmark Benchmark.swift
[133/211] Compiling Benchmark BenchmarkArguments.swift
[134/211] Compiling Benchmark BenchmarkColumn.swift
[135/211] Emitting module Benchmark
[136/212] Wrapping AST for Benchmark for debugging
[138/212] Emitting module SwiftSyntax
[163/212] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[164/212] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[165/212] Compiling SwiftSyntax RawSyntaxValidation.swift
[184/212] Compiling SwiftSyntax SyntaxNodesAB.swift
[185/212] Compiling SwiftSyntax SyntaxNodesC.swift
[186/212] Compiling SwiftSyntax SyntaxNodesD.swift
[187/212] Compiling SwiftSyntax SyntaxNodesEF.swift
[188/212] Compiling SwiftSyntax SyntaxNodesGHI.swift
[189/212] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[190/212] Compiling SwiftSyntax SyntaxNodesOP.swift
[191/212] Compiling SwiftSyntax SyntaxNodesQRS.swift
[192/212] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[194/229] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[195/230] Compiling SwiftBasicFormat Syntax+Extensions.swift
[196/271] Compiling SwiftDiagnostics Note.swift
[197/271] Compiling SwiftParser Attributes.swift
[198/271] Compiling SwiftParser Availability.swift
[199/271] Emitting module SwiftDiagnostics
[200/271] Compiling SwiftParser CharacterInfo.swift
[201/271] Compiling SwiftParser CollectionNodes+Parsable.swift
[202/271] Compiling SwiftDiagnostics Message.swift
[203/271] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[204/271] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[205/271] Compiling SwiftDiagnostics FixIt.swift
[206/271] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[207/271] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[208/272] Compiling SwiftBasicFormat Indenter.swift
[209/272] Emitting module SwiftBasicFormat
[210/272] Compiling SwiftBasicFormat BasicFormat.swift
[211/272] Compiling SwiftBasicFormat InferIndentation.swift
[212/273] Compiling SwiftParser SwiftParserCompatibility.swift
[213/273] Compiling SwiftParser SwiftVersion.swift
[214/273] Compiling SwiftParser SyntaxUtils.swift
[215/273] Compiling SwiftParser TokenConsumer.swift
[216/273] Compiling SwiftParser TokenPrecedence.swift
[219/276] Compiling SwiftParser Modifiers.swift
[220/276] Compiling SwiftParser Names.swift
[221/276] Compiling SwiftParser Nominals.swift
[222/276] Compiling SwiftParser Parameters.swift
[223/276] Compiling SwiftParser ParseSourceFile.swift
[224/276] Compiling SwiftParser Parser.swift
[225/276] Compiling SwiftParser LexemeSequence.swift
[226/276] Compiling SwiftParser Lexer.swift
[227/276] Compiling SwiftParser RegexLiteralLexer.swift
[228/276] Compiling SwiftParser UnicodeScalarExtensions.swift
[229/276] Compiling SwiftParser Lookahead.swift
[230/276] Compiling SwiftParser LoopProgressCondition.swift
[231/276] Compiling SwiftParser Patterns.swift
[232/276] Compiling SwiftParser Recovery.swift
[233/276] Compiling SwiftParser Specifiers.swift
[234/276] Compiling SwiftParser Statements.swift
[235/276] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[236/276] Compiling SwiftParser StringLiterals.swift
[237/276] Compiling SwiftParser TokenSpec.swift
[238/276] Compiling SwiftParser TokenSpecSet.swift
[239/276] Compiling SwiftParser TopLevel.swift
[240/276] Compiling SwiftParser TriviaParser.swift
[241/276] Compiling SwiftParser Types.swift
[242/276] Emitting module SwiftParser
[247/276] Compiling SwiftParser Declarations.swift
[248/276] Compiling SwiftParser Directives.swift
[249/276] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[250/276] Compiling SwiftParser Expressions.swift
[251/276] Compiling SwiftParser IncrementalParseTransition.swift
[252/276] Compiling SwiftParser IsValidIdentifier.swift
[253/276] Compiling SwiftParser Cursor.swift
[254/276] Compiling SwiftParser Lexeme.swift
[255/276] Compiling SwiftParser ExperimentalFeatures.swift
[256/276] Compiling SwiftParser IsLexerClassified.swift
[257/276] Compiling SwiftParser LayoutNodes+Parsable.swift
[258/276] Compiling SwiftParser Parser+TokenSpecSet.swift
[259/276] Compiling SwiftParser TokenSpecStaticMembers.swift
[261/299] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[262/299] Compiling SwiftOperators PrecedenceGroup.swift
[263/301] Compiling SwiftOperators PrecedenceGraph.swift
[264/301] Compiling SwiftOperators OperatorTable.swift
[265/301] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[266/301] Compiling SwiftOperators OperatorTable+Folding.swift
[267/301] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[268/301] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[269/301] Compiling SwiftParserDiagnostics MissingNodesError.swift
[270/301] Compiling SwiftParserDiagnostics MissingTokenError.swift
[271/301] Emitting module SwiftOperators
[272/301] Compiling SwiftOperators OperatorTable+Semantics.swift
[273/301] Compiling SwiftOperators SyntaxSynthesis.swift
[275/301] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[276/301] Compiling SwiftParserDiagnostics Utils.swift
[277/301] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[278/301] Emitting module SwiftParserDiagnostics
[279/301] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[280/301] Compiling SwiftParserDiagnostics PresenceUtils.swift
[285/301] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[286/301] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[288/316] Emitting module SwiftSyntaxBuilder
[289/316] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[290/316] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[291/316] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[292/316] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[293/316] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[294/316] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[295/316] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[296/316] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[297/316] Compiling SwiftSyntaxBuilder Indenter.swift
[298/316] Compiling SwiftSyntaxBuilder ListBuilder.swift
[299/317] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[300/317] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[301/317] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[302/317] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[303/317] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[305/334] Emitting module SwiftSyntaxMacros
[306/336] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[307/336] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[308/336] Compiling SwiftSyntaxMacros Macro.swift
[309/336] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[310/336] Compiling SwiftSyntaxMacros AccessorMacro.swift
[311/336] Compiling SwiftSyntaxMacros AttachedMacro.swift
[312/336] Compiling SwiftSyntaxMacros BodyMacro.swift
[313/336] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[314/336] Compiling SwiftSyntaxMacros Macro+Format.swift
[315/336] Compiling SwiftSyntaxMacros MemberMacro.swift
[316/336] Compiling SwiftSyntaxMacros PeerMacro.swift
[317/336] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[318/336] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[319/336] Compiling SwiftSyntaxMacros PreambleMacro.swift
[320/336] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[321/336] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[322/336] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[323/336] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[325/345] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[326/346] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[327/346] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[328/346] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[329/346] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[330/346] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[331/346] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[332/346] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[333/346] Emitting module SwiftSyntaxMacroExpansion
[334/346] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[336/358] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[337/359] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[338/359] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[339/359] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[340/359] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[341/359] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[342/359] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[343/359] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[344/359] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[345/359] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[346/359] Emitting module SwiftCompilerPluginMessageHandling
[347/359] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[348/359] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[350/361] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[351/361] Emitting module SwiftCompilerPlugin
[353/364] Compiling CasePathsMacros Plugin.swift
[354/364] Emitting module CasePathsMacros
[355/364] Compiling CasePathsMacros CasePathableMacro.swift
[356/364] Write Objects.LinkFileList
[357/364] Linking CasePathsMacros-tool
[359/371] Compiling CasePaths Macros.swift
[360/371] Compiling CasePaths LockIsolated.swift
[361/371] Compiling CasePaths XCTestSupport.swift
[362/371] Compiling CasePaths Exports.swift
[363/371] Compiling CasePaths Deprecations.swift
[364/371] Emitting module CasePaths
[365/371] Compiling CasePaths EnumReflection.swift
[367/438] Compiling Parsing OneOf.swift
[368/438] Compiling Parsing OneOfMany.swift
[369/438] Compiling Parsing Optional.swift
[370/438] Compiling Parsing Optionally.swift
[371/438] Compiling Parsing Parse.swift
[372/438] Compiling Parsing ParseableFormatStyle.swift
[373/438] Compiling Parsing Peek.swift
[374/438] Compiling Parsing Pipe.swift
[375/438] Compiling Parsing Prefix.swift
[376/447] Compiling Parsing OneOfBuilder.swift
[377/447] Compiling Parsing ParserBuilder.swift
[378/447] Compiling Parsing Conversion.swift
[379/447] Compiling Parsing AnyConversion.swift
[380/447] Compiling Parsing BinaryFloatingPoint.swift
[381/447] Compiling Parsing ConversionMap.swift
[382/447] Compiling Parsing Conversions.swift
[383/447] Compiling Parsing Data.swift
[384/447] Compiling Parsing Enum.swift
[385/447] Compiling Parsing FixedWidthInteger.swift
[386/447] Compiling Parsing CaseIterableRawRepresentable.swift
[387/447] Compiling Parsing CharacterSet.swift
[388/447] Compiling Parsing Conditional.swift
[389/447] Compiling Parsing Consumed.swift
[390/447] Compiling Parsing Digits.swift
[391/447] Compiling Parsing End.swift
[392/447] Compiling Parsing Fail.swift
[393/447] Compiling Parsing Filter.swift
[394/447] Compiling Parsing First.swift
[395/447] Compiling Parsing Float.swift
[396/447] Compiling Parsing From.swift
[397/447] Compiling Parsing Int.swift
[398/447] Compiling Parsing Lazy.swift
[399/447] Compiling Parsing Literal.swift
[400/447] Compiling Parsing Many.swift
[401/447] Compiling Parsing Map.swift
[402/447] Compiling Parsing Newline.swift
[403/447] Compiling Parsing Not.swift
[404/447] Compiling Parsing PrefixThrough.swift
[405/447] Compiling Parsing PrefixUpTo.swift
[406/447] Compiling Parsing Printing.swift
[407/447] Compiling Parsing Pullback.swift
[408/447] Compiling Parsing ReplaceError.swift
[409/447] Compiling Parsing Rest.swift
[410/447] Compiling Parsing Skip.swift
[411/447] Compiling Parsing StartsWith.swift
[412/447] Compiling Parsing UUID.swift
[413/447] Compiling Parsing Identity.swift
[414/447] Compiling Parsing JSON.swift
[415/447] Compiling Parsing LosslessStringConvertible.swift
[416/447] Compiling Parsing Memberwise.swift
[417/447] Compiling Parsing ParseableFormatStyleConversion.swift
[418/447] Compiling Parsing RawRepresentable.swift
[419/447] Compiling Parsing String.swift
[420/447] Compiling Parsing Substring.swift
[421/447] Compiling Parsing UTF8View.swift
[422/447] Compiling Parsing ConvertingError.swift
[423/447] Compiling Parsing CountingRange.swift
[424/447] Compiling Parsing EmptyInitializable.swift
[425/447] Compiling Parsing AnyEquatable.swift
[426/447] Compiling Parsing Deprecations.swift
[427/447] Compiling Parsing Parser.swift
[428/447] Compiling Parsing ParserPrinter.swift
[429/447] Compiling Parsing Always.swift
[430/447] Compiling Parsing AnyParserPrinter.swift
[431/447] Compiling Parsing Backtracking.swift
[432/447] Compiling Parsing Bool.swift
[433/447] Emitting module Parsing
[434/447] Compiling Parsing Whitespace.swift
[435/447] Compiling Parsing AnyParser.swift
[436/447] Compiling Parsing CompactMap.swift
[437/447] Compiling Parsing FlatMap.swift
[438/447] Compiling Parsing Parsers.swift
[439/447] Compiling Parsing Stream.swift
[440/447] Compiling Parsing ParsingError.swift
[441/447] Compiling Parsing PrependableCollection.swift
[442/447] Compiling Parsing PrintingError.swift
[443/448] Wrapping AST for Parsing for debugging
[445/474] Compiling PeriodDuration Duration+Codable.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Duration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[446/474] Compiling PeriodDuration Duration+Description.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Duration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[447/474] Compiling PeriodDuration Duration+ExpressibleByStringLiteral.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Duration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[448/474] Compiling PeriodDuration Duration+Formatting.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Duration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[449/477] Compiling PeriodDuration Period+Zero.swift
[450/477] Compiling PeriodDuration Period.swift
[451/477] Compiling PeriodDuration PeriodDuration+Codable.swift
[452/477] Compiling PeriodDuration Period+Formatting.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[453/477] Compiling PeriodDuration Period+FoundationSupport.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[454/477] Compiling PeriodDuration Period+ISO8601.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[455/477] Compiling PeriodDuration Period+Signs.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
error: emit-module command failed with exit code 1 (use -v to see invocation)
[456/477] Emitting module PeriodDuration
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Duration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension Period {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Period/Period+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from period: Period) -> String? {
16 | string(from: period.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[457/477] Compiling PeriodDuration PeriodDuration+FoundationSupport.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[458/477] Compiling PeriodDuration PeriodDuration+ISO8601.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[459/477] Compiling PeriodDuration PeriodDuration+Signs.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+FoundationSupport.swift:17:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 |
16 | #if !os(Linux)
17 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | public func string(from periodDuration: PeriodDuration) -> String? {
19 | string(from: periodDuration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[460/477] Compiling PeriodDuration Duration.swift
[461/477] Compiling PeriodDuration Period+Codable.swift
[462/477] Compiling PeriodDuration Period+Description.swift
[463/477] Compiling PeriodDuration Period+ExpressibleByStringLiteral.swift
[464/477] Compiling PeriodDuration PeriodDuration+Description.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[465/477] Compiling PeriodDuration PeriodDuration+ExpressibleByStringLiteral.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[466/477] Compiling PeriodDuration PeriodDuration+Formatting.swift
/host/spi-builder-workspace/Sources/PeriodDuration/PeriodDuration/PeriodDuration+Formatting.swift:6:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
4 | extension PeriodDuration {
5 | public func formatted(
6 | style: DateComponentsFormatter.UnitsStyle = .full,
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
7 | allowedUnits: NSCalendar.Unit = [.year, .month, .day, .hour, .minute, .second],
8 | locale: Locale
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[467/477] Compiling PeriodDuration Duration+FoundationSupport.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[468/477] Compiling PeriodDuration Duration+ISO8601.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[469/477] Compiling PeriodDuration Duration+Signs.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[470/477] Compiling PeriodDuration Duration+Zero.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Duration/Duration+FoundationSupport.swift:14:11: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
12 |
13 | #if !os(Linux)
14 | extension DateComponentsFormatter {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | public func string(from duration: Duration) -> String? {
16 | string(from: duration.asDateComponents)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[471/477] Compiling PeriodDuration PeriodDuration+Zero.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[472/477] Compiling PeriodDuration PeriodDuration.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[473/477] Compiling PeriodDuration Utils.swift
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:98:16: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
96 |
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
99 | var formatter = DateComponentsFormatter()
100 | var calendar = Calendar(identifier: .iso8601)
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
/host/spi-builder-workspace/Sources/PeriodDuration/Utils.swift:99:21: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | #if !os(Linux)
98 | let formatter: DateComponentsFormatter = {
99 | var formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | var calendar = Calendar(identifier: .iso8601)
101 | calendar.timeZone = TimeZone(secondsFromGMT: 0)!
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
BUILD FAILURE 6.1 android