Build Information
Failed to build swift-foundation, reference main (2d9e51
), with Swift 6.2 (beta) for macOS (SPM) on 12 Sep 2025 22:35:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:886:117: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
884 | if isHex {
885 | if numberBuffer.first.unsafelyUnwrapped == UInt8(ascii: "-") {
886 | guard let int = Int64(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex), let float = T(exactly: int) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
887 | throw JSONError.numberIsNotRepresentableInSwift(parsed: String(decoding: numberBuffer, as: UTF8.self))
888 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:946:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
944 | var negInfString = negInfString
945 | var nanString = nanString
946 | return stringBuffer.withUnsafeRawPointer { (ptr, count) -> T? in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
947 | func bytesAreEqual(_ b: UnsafeBufferPointer<UInt8>) -> Bool {
948 | count == b.count && memcmp(ptr, b.baseAddress!, b.count) == 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:998:67: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
996 | }
997 |
998 | return try Self._slowpath_unwrapFixedWidthInteger(as: type, json5: json5, numberBuffer: numberBuffer, fullSource: fullSource, digitBeginning: digitBeginning, for: codingPathNode, additionalKey)
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
999 | }
1000 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:981:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
979 |
980 | // This is the fast pass. Number directly convertible to desired integer type.
981 | if let integer = T(prevalidatedJSON5Buffer: numberBuffer, isHex: isHex) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
982 | return integer
983 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:964:12: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
962 | private func unwrapFixedWidthInteger<T: FixedWidthInteger>(
963 | from value: JSONMap.Value,
964 | as type: T.Type,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
965 | for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)? = nil) throws -> T
966 | {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:632:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
630 | }
631 |
632 | guard let value: T = _parseXMLPlistInteger(&reader) else {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
633 | throw DecodingError._dataCorrupted("Invalid <integer> value on line \(reader.lineNumber)", for: codingPathNode, additionalKey)
634 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:720:47: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
718 |
719 | // Try parsing special values that XML plist accepts that strto* does not.
720 | if let specialValue: T = try Self.parseSpecialRealValue(bytes, fullSource: fullSource, for: codingPathNode, additionalKey) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
721 | return specialValue
722 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:703:68: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
701 | }
702 |
703 | func realValue<T: BinaryFloatingPoint>(in map: XMLPlistMap, as type: T.Type, for codingPathNode: _CodingPathNode, _ additionalKey: (some CodingKey)?) throws -> T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
704 | if case .integer = self {
705 | if let uintValue = try? self.integerValue(in: map, as: UInt64.self, for: codingPathNode, additionalKey) {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: capture of 'type' with non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:735:118: warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
733 | res = T(_stringshims_strtod_clocale(ptr, &parseEndPtr))
734 | } else {
735 | preconditionFailure("Only Float and Double are currently supported by PropertyListDecoder, not \(type))")
| `- warning: implicit capture of 'type' requires that 'T.Type' conforms to 'Sendable'; this is an error in the Swift 6 language mode
736 | }
737 | guard ptr.advanced(by: count) == parseEndPtr! else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
213 | fileprivate func _addMainActorObserver<Message: MainActorMessage>(
214 | subject: Message.Subject?,
215 | observer: @escaping @MainActor (Message) -> Void
| `- note: parameter 'observer' is implicitly non-sendable
216 | ) -> ObservationToken {
217 | #if FOUNDATION_FRAMEWORK
:
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: passing non-sendable parameter 'observer' to function expecting a @Sendable closure
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/MainActorMessage.swift:228:105: warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
226 | })
227 | #else
228 | return ObservationToken(center: self, token: _addObserver(Message.name, object: subject, using: observer))
| `- warning: converting function value of type '@MainActor (Message) -> Void' to '@Sendable (Message) -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
229 | #endif
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/NotificationCenter/NotificationCenterMessage.swift:139:38: warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
137 | extension NotificationCenter {
138 | internal var asyncObserverQueue: _NotificationCenterActorQueueManager {
139 | self._getActorQueueManager() as! _NotificationCenterActorQueueManager
| `- warning: forced cast of '_NotificationCenterActorQueueManager' to same type has no effect
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:373:5: warning: code after 'return' will never be executed
371 | }
372 | #endif
373 | return nil
| `- warning: code after 'return' will never be executed
374 | }
375 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Data/Data+Writing.swift:206:19: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [#DeprecatedDeclaration]
204 | }
205 | #else
206 | guard mktemp(templateFileSystemRep) != nil else {
| `- warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [#DeprecatedDeclaration]
207 | throw CocoaError.errorWithFilePath(inPath, errno: errno, reading: false, variant: variant)
208 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Data/Data.swift:2230:27: error: cannot find '_overrideLifetime' in scope
2228 | }
2229 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2230 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: cannot find '_overrideLifetime' in scope
2231 | }
2232 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Data/Data.swift:2240:20: error: cannot find '_overrideLifetime' in scope
2238 | borrowing get {
2239 | let span = unsafe bytes._unsafeView(as: UInt8.self)
2240 | return _overrideLifetime(span, borrowing: self)
| `- error: cannot find '_overrideLifetime' in scope
2241 | }
2242 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationEssentials/Data/Data.swift:2268:27: error: cannot find '_overrideLifetime' in scope
2266 | }
2267 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2268 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: cannot find '_overrideLifetime' in scope
2269 | }
2270 | }
Fetching https://github.com/apple/swift-foundation-icu
[1/3859] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu from cache (5.70s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71913] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.30s)
Fetching https://github.com/apple/swift-collections
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.73s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (2.26s)
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (2113033)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (6df106d)
BUILD FAILURE 6.2 macosSpm