Build Information
Failed to build swift-foundation, reference main (eeb7ba
), with Swift 5.10 for Linux on 14 Nov 2024 03:35:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1101/1109] Compiling FoundationEssentials BufferView.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1102/1109] Compiling FoundationEssentials BufferViewCompatibility.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1103/1109] Compiling FoundationEssentials BufferViewIndex.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1104/1109] Compiling FoundationEssentials BufferViewIterator.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1105/1109] Compiling FoundationEssentials JSON5Scanner.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1106/1109] Compiling FoundationEssentials JSONDecoder.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1107/1109] Compiling FoundationEssentials JSONEncoder.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
[1108/1109] Compiling FoundationEssentials JSONScanner.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:76: error: consecutive declarations on a line must be separated by ';'
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:887:77: error: expected declaration
func dateAfterDateWithTargetDoW(_ start: Date, _ targetDoW: Int) throws (GregorianCalendarError) -> (Date, daysAdded: Int) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:107: error: consecutive declarations on a line must be separated by ';'
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:924:108: error: expected declaration
func _ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) throws (GregorianCalendarError) -> Int? {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:98: error: consecutive declarations on a line must be separated by ';'
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1699:99: error: expected declaration
func julianDay(usingJulianReference: Bool, resolvedComponents: ResolvedDateComponents) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:220: error: consecutive declarations on a line must be separated by ';'
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1789:221: error: expected declaration
func date(from components: DateComponents, inTimeZone timeZone: TimeZone, dstRepeatedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former, dstSkippedTimePolicy: TimeZone.DaylightSavingTimePolicy = .former) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:106: error: consecutive declarations on a line must be separated by ';'
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1880:107: error: expected declaration
static func julianDay(ofDay day: Int, month: Int, year: Int, useJulianReference: Bool = false) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:68: error: consecutive declarations on a line must be separated by ';'
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:1922:69: error: expected declaration
func dayOfYear(fromYear year: Int, month: Int, day: Int) throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:108: error: consecutive declarations on a line must be separated by ';'
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2210:109: error: expected declaration
func add(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:115: error: consecutive declarations on a line must be separated by ';'
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2389:116: error: expected declaration
func addAndWrap(_ field: Calendar.Component, to date: Date, amount: Int, inTimeZone timeZone: TimeZone) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:93: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2703:94: error: expected declaration
internal func date(byAddingAndWrapping components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:107: error: consecutive declarations on a line must be separated by ';'
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2769:108: error: expected declaration
internal func date(byAddingAndCarryingOverComponents components: DateComponents, to date: Date) throws (GregorianCalendarError) -> Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:102: error: consecutive declarations on a line must be separated by ';'
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:2849:103: error: expected declaration
func difference(inComponent component: Calendar.Component, from start: Date, to end: Date) throws (GregorianCalendarError) -> (difference: Int, newStart: Date) {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:174:22: note: in declaration of '_CalendarGregorian'
internal final class _CalendarGregorian: _CalendarProtocol, @unchecked Sendable {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1146:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1171:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1347:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1392:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1642:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1687:67: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:817:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:836:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:954:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:961:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1038:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1069:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1108:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1115:63: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1393:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1400:59: warning: unrecognized platform name 'visionOS'
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *)
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:28: error: consecutive declarations on a line must be separated by ';'
func julianDay() throws (GregorianCalendarError) -> Int {
^
;
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:41:29: error: expected declaration
func julianDay() throws (GregorianCalendarError) -> Int {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift:32:1: note: in extension of 'Date'
extension Date {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:874:24: error: cannot convert value of type '(Int, ())' to closure result type '(Int, Date)?'
return (comps.consumed, date)
^~~~~~~~~~~~~~~~~~~~~~
as! (Int, Date)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:43: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1147:20: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:44: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1172:20: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:62: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1348:24: error: cannot find type 'Int128' in scope
func decode(_: Int128.Type, forKey key: K) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:63: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1393:24: error: cannot find type 'UInt128' in scope
func decode(_: UInt128.Type, forKey key: K) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:56: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1643:33: error: cannot find type 'Int128' in scope
mutating func decode(_: Int128.Type) throws -> Int128 {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:57: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:1688:33: error: cannot find type 'UInt128' in scope
mutating func decode(_: UInt128.Type) throws -> UInt128 {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1394:11: error: cannot find type 'Int128' in scope
extension Int128 : _JSONSimpleValueArrayElement { }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1401:11: error: cannot find type 'UInt128' in scope
extension UInt128 : _JSONSimpleValueArrayElement { }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:818:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128, forKey key: Key) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:837:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128, forKey key: Key) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:955:42: error: cannot find type 'Int128' in scope
public mutating func encode(_ value: Int128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:962:42: error: cannot find type 'UInt128' in scope
public mutating func encode(_ value: UInt128) throws { self.reference.append(self.encoder.wrap(value)) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1039:33: error: cannot find type 'Int128' in scope
public func encode(_ value: Int128) throws {
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1070:33: error: cannot find type 'UInt128' in scope
public func encode(_ value: UInt128) throws {
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1109:42: error: cannot find type 'Int128' in scope
@inline(__always) func wrap(_ value: Int128) -> JSONEncoderValue { .number(from: value) }
^~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONEncoder.swift:1116:42: error: cannot find type 'UInt128' in scope
@inline(__always) func wrap(_ value: UInt128) -> JSONEncoderValue { .number(from: value) }
^~~~~~~
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: error: generic parameter 'Element' could not be inferred
let view = BufferView(unsafeBufferPointer: buffer)!
^
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/BufferView.swift:16:28: note: 'Element' declared as parameter to type 'BufferView'
internal struct BufferView<Element> {
^
/host/spi-builder-workspace/Sources/FoundationEssentials/Formatting/Date+ISO8601FormatStyle.swift:863:24: note: explicitly specify the generic arguments to fix this issue
let view = BufferView(unsafeBufferPointer: buffer)!
^
<Any>
error: fatalError
[1108/1109] Compiling icu_packaged_data.cpp
BUILD FAILURE 5.10 linux