The Swift Package Index logo.Swift Package Index

Build Information

Failed to build w3w-swift-core, reference v1.7.1 (65e94c), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 09:42:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[44/69] Compiling W3WSwiftCore W3WRegex.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    |                     |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |   public var code: String?
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[45/69] Compiling W3WSwiftCore W3WRfcLanguage+W3WLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    |                     |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |   public var code: String?
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[46/69] Compiling W3WSwiftCore W3WRfcLanguage+W3WSdkLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    |                     |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |   public var code: String?
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[47/69] Compiling W3WSwiftCore W3WRfcLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    |                     |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |   public var code: String?
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[48/69] Compiling W3WSwiftCore W3WRfcLanguageProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    |                     |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |   public var code: String?
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[49/69] Compiling W3WSwiftCore W3WRfcLanguageProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    |                     |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |   public var code: String?
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[50/69] Compiling W3WSwiftCore W3WUtilitiesProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:181:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |
 98 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
 99 |   public typealias StringLiteralType = String
100 |
    :
179 |   }
180 |
181 |   static public let english = W3WBaseLanguage(locale: "en_gb")
    |                     |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | }
183 |
[51/69] Compiling W3WSwiftCore W3WWritingDirection.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:181:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |
 98 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
 99 |   public typealias StringLiteralType = String
100 |
    :
179 |   }
180 |
181 |   static public let english = W3WBaseLanguage(locale: "en_gb")
    |                     |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | }
183 |
[52/69] Compiling W3WSwiftCore W3WCountry.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:181:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |
 98 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
 99 |   public typealias StringLiteralType = String
100 |
    :
179 |   }
180 |
181 |   static public let english = W3WBaseLanguage(locale: "en_gb")
    |                     |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | }
183 |
[53/69] Compiling W3WSwiftCore W3WLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:181:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |
 98 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
 99 |   public typealias StringLiteralType = String
100 |
    :
179 |   }
180 |
181 |   static public let english = W3WBaseLanguage(locale: "en_gb")
    |                     |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | }
183 |
[54/69] Compiling W3WSwiftCore W3WRanked.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:181:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |
 98 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
 99 |   public typealias StringLiteralType = String
100 |
    :
179 |   }
180 |
181 |   static public let english = W3WBaseLanguage(locale: "en_gb")
    |                     |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | }
183 |
[55/69] Compiling W3WSwiftCore W3WSquare.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:181:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |
 98 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
 99 |   public typealias StringLiteralType = String
100 |
    :
179 |   }
180 |
181 |   static public let english = W3WBaseLanguage(locale: "en_gb")
    |                     |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | }
183 |
[56/69] Compiling W3WSwiftCore W3WDebouncer.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[57/69] Compiling W3WSwiftCore W3WThread.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[58/69] Compiling W3WSwiftCore W3WBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[59/69] Compiling W3WSwiftCore W3WCircle.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[60/69] Compiling W3WSwiftCore W3WDistance.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[61/69] Compiling W3WSwiftCore W3WLine.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[62/69] Compiling W3WSwiftCore W3WPolygon.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |              `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                      `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
 9 |
10 |
11 | public class W3WDebouncer<T> {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |   let delay: TimeInterval
   :
25 |   public func execute(_ x: T) {
26 |     timer?.invalidate()
27 |     timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in  self?.closure(x)})
   |                                                                                                                    `- warning: capture of 'x' with non-sendable type 'T' in a '@Sendable' closure
28 |   }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
54 |     } else {
55 |       DispatchQueue.global(qos: .userInitiated).async {
56 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 |       }
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 |     } else {
23 |       DispatchQueue.main.async {
24 |         block()
   |         |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |       }
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 |   static public func queueOnMain(_ block: @escaping () -> ()) {
31 |     DispatchQueue.main.async {
32 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 |     }
34 |   }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 |   static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 |     DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 |       block()
   |       |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |     }
41 |   }
[63/69] Compiling W3WSwiftCore W3WUser.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
[64/69] Compiling W3WSwiftCore W3WAudioRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
[65/69] Compiling W3WSwiftCore W3WAudioRecording.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
[66/69] Compiling W3WSwiftCore W3WAudioStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
[67/69] Compiling W3WSwiftCore W3WEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
[68/69] Compiling W3WSwiftCore W3WMicrophone.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
[69/69] Compiling W3WSwiftCore ApiExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 |     DispatchQueue.main.async {
245 |       self.volumeUpdate(self.recordingLevel)
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
246 |     }
247 |   }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.md
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/62] Emitting module W3WSwiftCore
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
[3/68] Compiling W3WSwiftCore W3WLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[4/68] Compiling W3WSwiftCore W3WRegex.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[5/68] Compiling W3WSwiftCore W3WRfcLanguage+W3WLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[6/68] Compiling W3WSwiftCore W3WRfcLanguage+W3WSdkLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[7/68] Compiling W3WSwiftCore W3WRfcLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[8/68] Compiling W3WSwiftCore W3WRfcLanguageProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[9/68] Compiling W3WSwiftCore W3WRfcLanguageProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:66:37: error: 'Language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 64 |   @available(iOS 16, *)
 65 |   @available(watchOS 9, *)
 66 |   public init(from language: Locale.Language) {
    |          |                          `- error: 'Language' is only available in macOS 13 or newer
    |          `- note: add @available attribute to enclosing initializer
 67 |     self.code = language.code
 68 |     self.scriptCode = language.scriptCode
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:130:18: error: 'Language' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | |                `- error: 'Language' is only available in macOS 13 or newer
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:27:30: error: 'language' is only available in macOS 13 or newer
 14 | /// - script (optional, 4 letters, titlecased)
 15 | /// - region (optional, 2 letters or 3-digit number)
 16 | public struct W3WRfcLanguage: W3WRfcLanguageProtocol {
    |               `- note: add @available attribute to enclosing struct
 17 |   /// default language is "en". name's default can be changed externally to use a different language by an app if nessesary
 18 |   public static var `default` = W3WRfcLanguage(code: "en")
    :
 22 |   public var regionCode: String?
 23 |
 24 |   public init(locale: Locale) {
    |          `- note: add @available attribute to enclosing initializer
 25 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 26 |       // from iOS 16 supports getting script
 27 |       self.init(from: locale.language)
    |                              |- error: 'language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 28 |     } else {
 29 |       // no script for iOS < 16
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'Language' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'Language' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:97:30: error: 'init(identifier:)' is only available in macOS 13 or newer
 71 | }
 72 |
 73 | public extension W3WRfcLanguage {
    |        `- note: add @available attribute to enclosing extension
 74 |   /// if you want to init and validate that the language is supported on os, set `iOSCompatible` = `true`, or else = `false`
 75 |   /// if it's not valid, an error will be thrown
    :
 82 |   }
 83 |   /// Initialize from a string
 84 |   init(from string: String) {
    |   `- note: add @available attribute to enclosing initializer
 85 |     // Normalize separators
 86 |     let normalized = string
    :
 95 |
 96 |     if #available(iOS 16, *), #available(watchOS 9, *) {
 97 |       self.init(from: Locale.Language(identifier: normalized))
    |                              |- error: 'init(identifier:)' is only available in macOS 13 or newer
    |                              `- note: add 'if #available' version check
 98 |     } else {
 99 |       // Split into parts (e.g. zh-Hans-CN → ["zh", "Hans", "CN"])
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:132:12: error: 'languageCode' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
    |              `- note: add @available attribute to enclosing property
132 |     return languageCode?.identifier
    |            |- error: 'languageCode' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
133 |   }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:136:17: error: 'script' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
133 |   }
134 |
135 |   public var scriptCode: String? {
    |              `- note: add @available attribute to enclosing property
136 |     return self.script?.identifier
    |                 |- error: 'script' is only available in macOS 13 or newer
    |                 `- note: add 'if #available' version check
137 |   }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.swift:140:12: error: 'region' is only available in macOS 13 or newer
128 | @available(watchOS 9, *)
129 | @available(iOS 16, *)
130 | extension Locale.Language : W3WRfcLanguageProtocol {
    | `- note: add @available attribute to enclosing extension
131 |   public var code: String? {
132 |     return languageCode?.identifier
    :
137 |   }
138 |
139 |   public var regionCode: String? {
    |              `- note: add @available attribute to enclosing property
140 |     return region?.identifier
    |            |- error: 'region' is only available in macOS 13 or newer
    |            `- note: add 'if #available' version check
141 |   }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'Language' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'Language' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:21:29: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
21 |       let language = Locale.Language(identifier: identifier)
   |                             |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                             `- note: add 'if #available' version check
22 |       let langCode = language.code ?? ""
23 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:17: error: 'isEquivalent(to:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                 |- error: 'isEquivalent(to:)' is only available in macOS 13 or newer
   |                 `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguageProtocol.swift:26:35: error: 'init(identifier:)' is only available in macOS 13 or newer
14 | }
15 |
16 | public extension W3WRfcLanguageProtocol {
   |        `- note: add @available attribute to enclosing extension
17 |   // validate if language is supported by os, or else throw error
18 |   static func validateiOSCompatibility(identifier: String) throws {
   |               `- note: add @available attribute to enclosing static method
19 |     let isValid: Bool
20 |     if #available(iOS 16, watchOS 9, *) {
   :
24 |       // Check if code exists and is either equivalent to a standard locale or passes custom validation
25 |       isValid = !langCode.isEmpty &&
26 |       (language.isEquivalent(to: .init(identifier: langCode)) || identifier.isValidLocale)
   |                                   |- error: 'init(identifier:)' is only available in macOS 13 or newer
   |                                   `- note: add 'if #available' version check
27 |     } else {
28 |       isValid = identifier.isValidLocale
[10/68] Compiling W3WSwiftCore W3WInputType.swift
[11/68] Compiling W3WSwiftCore W3WOption.swift
[12/68] Compiling W3WSwiftCore W3WOptionAcceptorProtocol.swift
[13/68] Compiling W3WSwiftCore W3WOptionProtocol.swift
[14/68] Compiling W3WSwiftCore W3WOptions.swift
[15/68] Compiling W3WSwiftCore W3WStreetAddress.swift
[16/68] Compiling W3WSwiftCore W3WStreetAddressKey.swift
[17/68] Compiling W3WSwiftCore W3WDuration.swift
[18/68] Compiling W3WSwiftCore ClosureDefinitions.swift
[19/68] Compiling W3WSwiftCore LanguageUtils.swift
[20/68] Compiling W3WSwiftCore W3WError+W3WSwiftCore.swift
[21/68] Compiling W3WSwiftCore W3WMeasurementSystem.swift
[22/68] Compiling W3WSwiftCore W3WURLError.swift
[23/68] Compiling W3WSwiftCore W3WJson.swift
[24/68] Compiling W3WSwiftCore W3WRequest.swift
[25/68] Compiling W3WSwiftCore Combine+Extensions.swift
[26/68] Compiling W3WSwiftCore W3WEvent.swift
[27/68] Compiling W3WSwiftCore W3WEventSubscriberProtocol.swift
[28/68] Compiling W3WSwiftCore W3WEventsSubscriptions.swift
[29/68] Compiling W3WSwiftCore W3WDebouncer.swift
[30/68] Compiling W3WSwiftCore W3WThread.swift
[31/68] Compiling W3WSwiftCore W3WBox.swift
[32/68] Compiling W3WSwiftCore W3WCircle.swift
[33/68] Compiling W3WSwiftCore W3WDistance.swift
[34/68] Compiling W3WSwiftCore W3WLine.swift
[35/68] Compiling W3WSwiftCore W3WPolygon.swift
[36/68] Compiling W3WSwiftCore W3WMockTranslation.swift
[37/68] Compiling W3WSwiftCore W3WTranslate.swift
[38/68] Compiling W3WSwiftCore W3WTranslationsProtocol.swift
[39/68] Compiling W3WSwiftCore NetworkConnection.swift
[40/68] Compiling W3WSwiftCore W3WApi+Future.swift
[41/68] Compiling W3WSwiftCore W3WApi.swift
[42/68] Compiling W3WSwiftCore W3WApiEncoding.swift
[43/68] Compiling W3WSwiftCore W3WUtilitiesProtocol.swift
[44/68] Compiling W3WSwiftCore W3WWritingDirection.swift
[45/68] Compiling W3WSwiftCore W3WCountry.swift
[46/68] Compiling W3WSwiftCore W3WLanguage.swift
[47/68] Compiling W3WSwiftCore W3WRanked.swift
[48/68] Compiling W3WSwiftCore W3WSquare.swift
[49/68] Compiling W3WSwiftCore SdkExtension.swift
[50/68] Compiling W3WSwiftCore SdkTypes.swift
[51/68] Compiling W3WSwiftCore W3WGpsReading.swift
[52/68] Compiling W3WSwiftCore W3WGpsState.swift
[53/68] Compiling W3WSwiftCore W3WGpsStatus.swift
[54/68] Compiling W3WSwiftCore W3WProtocolV3.swift
[55/68] Compiling W3WSwiftCore W3WProtocolV4.swift
[56/68] Compiling W3WSwiftCore W3WSuggestion.swift
[57/68] Compiling W3WSwiftCore W3WAudioStreamProtocol.swift
[58/68] Compiling W3WSwiftCore W3WVoiceListeningState.swift
[59/68] Compiling W3WSwiftCore W3WVoiceProtocol.swift
[60/68] Compiling W3WSwiftCore W3WVoiceSuggestion+W3WSwiftCore.swift
[61/68] Compiling W3WSwiftCore W3WSettings+W3WSwiftCore.swift
[62/68] Compiling W3WSwiftCore W3WUser.swift
[63/68] Compiling W3WSwiftCore W3WAudioRecorder.swift
[64/68] Compiling W3WSwiftCore W3WAudioRecording.swift
[65/68] Compiling W3WSwiftCore W3WAudioStream.swift
[66/68] Compiling W3WSwiftCore W3WEncoding.swift
[67/68] Compiling W3WSwiftCore W3WMicrophone.swift
[68/68] Compiling W3WSwiftCore ApiExtension.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/RfcLanguage/W3WRfcLanguage.md
BUILD FAILURE 6.1 macosSpm