Build Information
Failed to build AssetLib, reference main (8f3d57
), with Swift 6.1 for Android on 30 May 2025 11:10:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[13/117] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[14/117] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[15/117] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[16/117] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[17/117] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[18/117] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[19/117] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[20/117] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[21/117] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[22/117] Compiling ArgumentParser Option.swift
[23/117] Compiling ArgumentParser OptionGroup.swift
[24/117] Compiling ArgumentParser CommandConfiguration.swift
[25/117] Compiling ArgumentParser EnumerableFlag.swift
[26/117] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public let parser: TemplateDecoder
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/host/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/host/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
[36/117] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
[37/117] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
[38/117] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
[39/117] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
[40/117] Compiling ArgumentParser Name.swift
[41/117] Compiling ArgumentParser Parsed.swift
[42/117] Compiling ArgumentParser ParsedValues.swift
[43/117] Compiling ArgumentParser ParserError.swift
[44/117] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[45/117] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[46/117] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[47/117] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[48/117] Compiling AssetLib IdiomScaleProviderProtocol.swift
[49/117] Compiling AssetLib ImageIdiomDisplayGamutProtocol.swift
[50/117] Compiling AssetLib TemplateDecoder.swift
[51/117] Compiling AssetLib TemplateEncoder.swift
[52/117] Compiling AssetLib TemplateResultParserProtocol.swift
[53/117] Compiling AssetLib TemplateTypeParserProtocol.swift
[54/117] Compiling AssetLib TemplateWriterProtocol.swift
[55/117] Compiling AssetLib String.swift
[65/117] Compiling AssetLib ImageSetDevice.swift
[66/117] Compiling AssetLib ImageSetIdiomDetail.swift
[67/117] Compiling AssetLib ImageSetTemplate.swift
[68/117] Compiling AssetLib LanguageDirection.swift
[69/117] Compiling AssetLib Luminosity.swift
[70/117] Compiling AssetLib Memory.swift
[71/117] Compiling AssetLib ProductOperation.swift
[72/117] Compiling AssetLib RenderingIntent.swift
[73/117] Compiling AssetLib Scales.swift
[74/117] Compiling AssetLib Size.swift
[75/117] Compiling AssetLib SizeClass.swift
[76/117] Compiling AssetLib Sizes.swift
[77/117] Compiling AssetLib TemplateDetails.swift
[78/117] Compiling AssetLib TemplateResult.swift
[79/117] Compiling AssetLib TemplateScaling.swift
[80/117] Compiling AssetLib TemplateType.swift
[81/117] Compiling AssetLib ValuedAppearance.swift
[82/117] Compiling AssetLib AppIconDeviceIdiomMapProtocol.swift
[83/117] Compiling AssetLib AppIconTemplateBase64.swift
[84/117] Compiling AssetLib Appearance.swift
[85/117] Compiling AssetLib AppearanceValue.swift
[86/117] Compiling AssetLib AppleWatchAutoScaingMethod.swift
[87/117] Compiling AssetLib AppleWatchRole.swift
[88/117] Compiling AssetLib AppleWatchScreenWidth.swift
[89/117] Compiling AssetLib AssetSpecification.swift
[90/117] Compiling AssetLib AssetSpecificationBuilder.swift
[91/117] Compiling AssetLib AssetSpecificationDocument.swift
[96/117] Compiling ArgumentParser UsageGenerator.swift
[97/117] Compiling ArgumentParser SequenceExtensions.swift
[98/117] Compiling ArgumentParser StringExtensions.swift
[99/117] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/host/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/host/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/host/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/102] Compiling AssetLib AppIconMasterDocumentProviderProtocol.swift
[4/102] Compiling AssetLib AssetSpecificationDocumentProtocol.swift
[5/102] Compiling AssetLib AssetSpecificationMetadataProtocol.swift
[6/102] Compiling AssetLib AssetSpecificationPropertiesProtocol.swift
[7/102] Compiling AssetLib AssetSpecificationProtocol.swift
[8/102] Compiling AssetLib AssetURLIntializerProtocol.swift
[9/102] Compiling AssetLib ISDeviceIdiomProviderProtocol.swift
[10/102] Compiling AssetLib IdiomAppIconSpecProvider.swift
[11/110] Compiling AssetLib Size.swift
[12/110] Compiling AssetLib SizeClass.swift
[13/110] Compiling AssetLib Sizes.swift
[14/110] Compiling AssetLib TemplateDetails.swift
[15/110] Compiling AssetLib TemplateResult.swift
[16/110] Compiling AssetLib TemplateScaling.swift
[17/110] Compiling AssetLib TemplateType.swift
[18/110] Compiling AssetLib ValuedAppearance.swift
[19/110] Compiling AssetLib AppIconDeviceIdiomMapProtocol.swift
[20/110] Compiling AssetLib IdiomScaleProviderProtocol.swift
[21/110] Compiling AssetLib ImageIdiomDisplayGamutProtocol.swift
[22/110] Compiling AssetLib TemplateDecoder.swift
[23/110] Compiling AssetLib TemplateEncoder.swift
[24/110] Compiling AssetLib TemplateResultParserProtocol.swift
[25/110] Compiling AssetLib TemplateTypeParserProtocol.swift
[26/110] Compiling AssetLib TemplateWriterProtocol.swift
[27/110] Compiling AssetLib String.swift
[28/110] Compiling AssetLib AssetSpecificationProperties.swift
[29/110] Compiling AssetLib CompressType.swift
[30/110] Compiling AssetLib Contrast.swift
[31/110] Compiling AssetLib Device.swift
[32/110] Compiling AssetLib DeviceSubType.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[33/110] Compiling AssetLib DisplayGamut.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[34/110] Compiling AssetLib GraphicsFeatureSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[35/110] Compiling AssetLib ImageIdiom.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 | var w = winsize()
| `- error: cannot find 'winsize' in scope
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 | var w = winsize()
315 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
316 | let width = Int(w.ws_col)
317 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[36/114] Compiling AssetLib ImageIdiomDisplayGamut.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[37/114] Compiling AssetLib ImageSetTemplateBuilder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[38/114] Compiling AssetLib TemplateResultParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[39/114] Compiling AssetLib TemplateTypeParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[40/114] Compiling AssetLib TemplateWriter.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[41/114] Emitting module AssetLib
[42/114] Compiling AssetLib ImageSetDevice.swift
[43/114] Compiling AssetLib ImageSetIdiomDetail.swift
[44/114] Compiling AssetLib ImageSetTemplate.swift
[45/114] Compiling AssetLib LanguageDirection.swift
[46/114] Compiling AssetLib Luminosity.swift
[47/114] Compiling AssetLib Memory.swift
[48/114] Compiling AssetLib ProductOperation.swift
[49/114] Compiling AssetLib RenderingIntent.swift
[50/114] Compiling AssetLib Scales.swift
[51/114] Compiling AssetLib AssetSpecificationMetadata.swift
[60/114] Compiling AssetLib Array.swift
[61/114] Compiling AssetLib AppIconDeviceIdiomMap.swift
[62/114] Compiling AssetLib AppIconMasterDocumentProvider.swift
[63/114] Compiling AssetLib AppIconTemplateBuilder.swift
[64/114] Compiling AssetLib AssetTemplateBuilder.swift
[65/114] Compiling AssetLib AssetURLInitializer.swift
[66/114] Compiling AssetLib ISDeviceIdiomProvider.swift
[67/114] Compiling AssetLib IdiomAppIconSpecMap.swift
[68/114] Compiling AssetLib IdiomScaleProvider.swift
[69/114] Compiling AssetLib AppIconTemplateBase64.swift
[70/114] Compiling AssetLib Appearance.swift
[71/114] Compiling AssetLib AppearanceValue.swift
[72/114] Compiling AssetLib AppleWatchAutoScaingMethod.swift
[73/114] Compiling ArgumentParser UsageGenerator.swift
[74/114] Compiling ArgumentParser SequenceExtensions.swift
[75/114] Compiling ArgumentParser StringExtensions.swift
[76/114] Compiling ArgumentParser Tree.swift
[77/114] Compiling AssetLib AssetSpecificationDocument.swift
[78/114] Compiling AssetLib DecodingError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[79/114] Compiling AssetLib Float.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[80/114] Compiling AssetLib AnyAppearance.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[81/114] Compiling AssetLib AppIconTemplate.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/114] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 | ) -> Never {
179 | guard let error = error else {
180 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 | }
191 | }
192 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
193 | }
194 |
[106/115] Wrapping AST for AssetLib for debugging
BUILD FAILURE 6.1 android