Build Information
Failed to build stringray, reference main (0705ed
), with Swift 6.0 for Linux on 26 Nov 2024 12:39:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/g-off/stringray.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/g-off/stringray
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0705ed8 Merge pull request #14 from g-Off/github-ci
Cloned https://github.com/g-off/stringray.git
Revision (git rev-parse @):
0705ed8b0fe250d54735b65bb668e0cf16e87c69
SUCCESS checkout https://github.com/g-off/stringray.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/g-off/stringray.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/g-Off/CommandRegistry.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/g-Off/XcodeProject.git
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/jpsim/Yams.git
[1/929] Fetching swiftytexttable
[94/1542] Fetching swiftytexttable, xcodeproject
[1543/1575] Fetching swiftytexttable, xcodeproject, commandregistry
Fetched https://github.com/g-Off/XcodeProject.git from cache (0.27s)
Fetched https://github.com/g-Off/CommandRegistry.git from cache (0.28s)
[930/10865] Fetching swiftytexttable, yams
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.06s)
Fetched https://github.com/jpsim/Yams.git from cache (1.09s)
[1/142756] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (11.17s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.47s)
Computing version for https://github.com/g-Off/CommandRegistry.git
Computed https://github.com/g-Off/CommandRegistry.git at 0.1.2 (0.47s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.3.0 (2.04s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.46s)
Computing version for https://github.com/g-Off/XcodeProject.git
Computed https://github.com/g-Off/XcodeProject.git at 0.5.1 (0.47s)
Fetching https://github.com/g-Off/ObjectCoder.git
Fetching https://github.com/mxcl/Version.git
[1/288] Fetching version
[289/321] Fetching version, objectcoder
Fetched https://github.com/mxcl/Version.git from cache (0.19s)
Fetched https://github.com/g-Off/ObjectCoder.git from cache (0.19s)
Computing version for https://github.com/g-Off/ObjectCoder.git
Computed https://github.com/g-Off/ObjectCoder.git at 0.1.0 (0.46s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.2.0 (2.24s)
Creating working copy for https://github.com/g-Off/CommandRegistry.git
Working copy of https://github.com/g-Off/CommandRegistry.git resolved at 0.1.2
Creating working copy for https://github.com/g-Off/XcodeProject.git
Working copy of https://github.com/g-Off/XcodeProject.git resolved at 0.5.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/g-Off/ObjectCoder.git
Working copy of https://github.com/g-Off/ObjectCoder.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.3.0
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.2.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Building for debugging...
[0/34] Write sources
[12/34] Compiling clibc libc.c
[13/34] Compiling writer.c
[14/34] Compiling reader.c
[15/34] Compiling api.c
[16/34] Compiling emitter.c
[17/34] Compiling parser.c
[18/34] Write swift-version-24593BA9C3E375BF.txt
[19/34] Compiling scanner.c
[21/85] Emitting module RayGun
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:41:20: warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public static let fileName = ".stringray.yml"
40 |
41 | public static let allRules: [LintRule] = [
| |- warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | MissingLocalizationLintRule(),
43 | OrphanedLocalizationLintRule(),
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:10:17: note: protocol 'LintRule' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public protocol LintRule {
| `- note: protocol 'LintRule' does not conform to the 'Sendable' protocol
11 | var info: RuleInfo { get }
12 | func scan(table: StringsTable, url: Foundation.URL, config: Linter.Config.Rule?) throws -> [LintRuleViolation]
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:49:27: warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
47 |
48 | public struct Error: LocalizedError {
49 | public private(set) var violations: [LintRuleViolation]
| `- warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
50 |
51 | public init(_ violations: [LintRuleViolation]) {
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:31:15: note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
29 | }
30 |
31 | public struct LintRuleViolation {
| `- note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
32 | public struct Location: CustomStringConvertible {
33 | public let file: Foundation.URL
/host/spi-builder-workspace/Sources/RayGun/Strings Table/PlaceholderType.swift:18:13: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum PlaceholderType: String, Codable {
| `- note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
11 | case object = "String"
12 | case float = "Float"
:
16 | case pointer = "UnsafeRawPointer"
17 |
18 | static let unknown = pointer
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | init?(_ string: String) {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:26:21: warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
25 |
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
| |- warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineNumbers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
28 | public static let singleLocale = Options(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:27:21: warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
25 |
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
| |- warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreCached' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let singleLocale = Options(rawValue: 1 << 2)
29 | }
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:28:21: warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
:
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
28 | public static let singleLocale = Options(rawValue: 1 << 2)
| |- warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleLocale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
[22/87] Compiling Version Version.swift
[23/87] Compiling Version Version+Range.swift
[24/87] Emitting module Version
[25/87] Compiling Version Version+Codable.swift
[26/87] Compiling ObjectCoder _NSObjectDecoder.swift
[27/87] Compiling ObjectCoder ObjectEncoder+Boxing.swift
[28/89] Compiling Yams YamlError.swift
[29/89] Compiling Yams shim.swift
[30/89] Compiling SPMLibc libc.swift
[31/89] Emitting module SPMLibc
[32/90] Wrapping AST for SPMLibc for debugging
[34/101] Compiling POSIX realpath.swift
[35/102] Compiling POSIX usleep.swift
[36/102] Compiling POSIX rename.swift
[37/102] Compiling POSIX stat.swift
[38/102] Emitting module POSIX
[39/102] Compiling POSIX Error.swift
[40/102] Compiling POSIX chdir.swift
[41/102] Compiling POSIX getcwd.swift
[42/102] Compiling POSIX isatty.swift
[43/102] Compiling POSIX env.swift
[44/102] Compiling POSIX exit.swift
[45/102] Compiling POSIX readdir.swift
[46/103] Wrapping AST for POSIX for debugging
[48/103] Compiling Version Version+Comparable.swift
[49/103] Compiling Version Version+Foundation.swift
[50/104] Emitting module SwiftyTextTable
[51/104] Compiling SwiftyTextTable TextTable.swift
[52/105] Compiling RayGun StringsTable+Entry.swift
[53/105] Compiling RayGun StringsTable.swift
[54/105] Compiling RayGun PlaceholderType.swift
[55/105] Compiling RayGun StringsTable+DictEntry.swift
[58/140] Compiling Basic DiagnosticsEngine.swift
[59/140] Compiling Basic DictionaryExtensions.swift
[60/140] Compiling Basic Condition.swift
[61/140] Compiling Basic DeltaAlgorithm.swift
[61/140] Wrapping AST for SwiftyTextTable for debugging
[62/140] Wrapping AST for Version for debugging
[64/140] Compiling ObjectCoder EncodingStorage.swift
[65/141] Compiling Basic Await.swift
[66/141] Compiling Basic ByteString.swift
[67/141] Compiling Basic JSONMapper.swift
[68/141] Compiling Basic KeyedPair.swift
[69/141] Compiling Basic LazyCache.swift
[70/141] Compiling Basic Lock.swift
[71/141] Compiling Basic ObjectIdentifierProtocol.swift
[72/145] Compiling Basic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 | defer { free(devNull) }
292 | // Open /dev/null as stdin.
293 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 | let argv = CStringArray(arguments)
317 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 | guard rv == 0 else {
[73/145] Compiling Basic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 | defer { free(devNull) }
292 | // Open /dev/null as stdin.
293 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 | let argv = CStringArray(arguments)
317 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 | guard rv == 0 else {
[74/145] Compiling Basic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 | defer { free(devNull) }
292 | // Open /dev/null as stdin.
293 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 | let argv = CStringArray(arguments)
317 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 | guard rv == 0 else {
[75/145] Compiling Basic Result.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 | defer { free(devNull) }
292 | // Open /dev/null as stdin.
293 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 | let argv = CStringArray(arguments)
317 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 | guard rv == 0 else {
[76/145] Compiling Basic SHA256.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 | defer { free(devNull) }
292 | // Open /dev/null as stdin.
293 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 | let argv = CStringArray(arguments)
317 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 | guard rv == 0 else {
[77/145] Compiling Basic SortedArray.swift
[78/145] Compiling Basic StringConversions.swift
[79/145] Compiling Basic SynchronizedQueue.swift
[80/145] Compiling Basic TemporaryFile.swift
[81/145] Emitting module Basic
[82/145] Compiling Basic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:16:18: error: cannot find 'kCFBooleanTrue' in scope
14 | if let number = value as? NSNumber {
15 | // TODO: Add a flag to coerce non-boolean numbers into Bools?
16 | if number === kCFBooleanTrue as NSNumber {
| `- error: cannot find 'kCFBooleanTrue' in scope
17 | return true
18 | } else if number === kCFBooleanFalse as NSNumber {
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:18:25: error: cannot find 'kCFBooleanFalse' in scope
16 | if number === kCFBooleanTrue as NSNumber {
17 | return true
18 | } else if number === kCFBooleanFalse as NSNumber {
| `- error: cannot find 'kCFBooleanFalse' in scope
19 | return false
20 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:35:53: error: cannot find 'kCFBooleanTrue' in scope
33 | guard !(value is NSNull) else { return nil }
34 |
35 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
36 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
37 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:35:80: error: cannot find 'kCFBooleanFalse' in scope
33 | guard !(value is NSNull) else { return nil }
34 |
35 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
36 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
37 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:50:53: error: cannot find 'kCFBooleanTrue' in scope
48 | guard !(value is NSNull) else { return nil }
49 |
50 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
51 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
52 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:50:80: error: cannot find 'kCFBooleanFalse' in scope
48 | guard !(value is NSNull) else { return nil }
49 |
50 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
51 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
52 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:65:53: error: cannot find 'kCFBooleanTrue' in scope
63 | guard !(value is NSNull) else { return nil }
64 |
65 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
66 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
67 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:65:80: error: cannot find 'kCFBooleanFalse' in scope
63 | guard !(value is NSNull) else { return nil }
64 |
65 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
66 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
67 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:80:53: error: cannot find 'kCFBooleanTrue' in scope
78 | guard !(value is NSNull) else { return nil }
79 |
80 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
81 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
82 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:80:80: error: cannot find 'kCFBooleanFalse' in scope
78 | guard !(value is NSNull) else { return nil }
79 |
80 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
81 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
82 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:95:53: error: cannot find 'kCFBooleanTrue' in scope
93 | guard !(value is NSNull) else { return nil }
94 |
95 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
96 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
97 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:95:80: error: cannot find 'kCFBooleanFalse' in scope
93 | guard !(value is NSNull) else { return nil }
94 |
95 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
96 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
97 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:110:53: error: cannot find 'kCFBooleanTrue' in scope
108 | guard !(value is NSNull) else { return nil }
109 |
110 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
111 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
112 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:110:80: error: cannot find 'kCFBooleanFalse' in scope
108 | guard !(value is NSNull) else { return nil }
109 |
110 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
111 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
112 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:125:53: error: cannot find 'kCFBooleanTrue' in scope
123 | guard !(value is NSNull) else { return nil }
124 |
125 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
126 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
127 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:125:80: error: cannot find 'kCFBooleanFalse' in scope
123 | guard !(value is NSNull) else { return nil }
124 |
125 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
126 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
127 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:140:53: error: cannot find 'kCFBooleanTrue' in scope
138 | guard !(value is NSNull) else { return nil }
139 |
140 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
141 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
142 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:140:80: error: cannot find 'kCFBooleanFalse' in scope
138 | guard !(value is NSNull) else { return nil }
139 |
140 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
141 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
142 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:155:53: error: cannot find 'kCFBooleanTrue' in scope
153 | guard !(value is NSNull) else { return nil }
154 |
155 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
156 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
157 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:155:80: error: cannot find 'kCFBooleanFalse' in scope
153 | guard !(value is NSNull) else { return nil }
154 |
155 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
156 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
157 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:170:53: error: cannot find 'kCFBooleanTrue' in scope
168 | guard !(value is NSNull) else { return nil }
169 |
170 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
171 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
172 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:170:80: error: cannot find 'kCFBooleanFalse' in scope
168 | guard !(value is NSNull) else { return nil }
169 |
170 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
171 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
172 | }
[83/145] Compiling Basic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:16:18: error: cannot find 'kCFBooleanTrue' in scope
14 | if let number = value as? NSNumber {
15 | // TODO: Add a flag to coerce non-boolean numbers into Bools?
16 | if number === kCFBooleanTrue as NSNumber {
| `- error: cannot find 'kCFBooleanTrue' in scope
17 | return true
18 | } else if number === kCFBooleanFalse as NSNumber {
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:18:25: error: cannot find 'kCFBooleanFalse' in scope
16 | if number === kCFBooleanTrue as NSNumber {
17 | return true
18 | } else if number === kCFBooleanFalse as NSNumber {
| `- error: cannot find 'kCFBooleanFalse' in scope
19 | return false
20 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:35:53: error: cannot find 'kCFBooleanTrue' in scope
33 | guard !(value is NSNull) else { return nil }
34 |
35 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
36 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
37 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:35:80: error: cannot find 'kCFBooleanFalse' in scope
33 | guard !(value is NSNull) else { return nil }
34 |
35 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
36 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
37 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:50:53: error: cannot find 'kCFBooleanTrue' in scope
48 | guard !(value is NSNull) else { return nil }
49 |
50 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
51 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
52 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:50:80: error: cannot find 'kCFBooleanFalse' in scope
48 | guard !(value is NSNull) else { return nil }
49 |
50 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
51 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
52 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:65:53: error: cannot find 'kCFBooleanTrue' in scope
63 | guard !(value is NSNull) else { return nil }
64 |
65 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
66 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
67 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:65:80: error: cannot find 'kCFBooleanFalse' in scope
63 | guard !(value is NSNull) else { return nil }
64 |
65 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
66 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
67 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:80:53: error: cannot find 'kCFBooleanTrue' in scope
78 | guard !(value is NSNull) else { return nil }
79 |
80 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
81 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
82 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:80:80: error: cannot find 'kCFBooleanFalse' in scope
78 | guard !(value is NSNull) else { return nil }
79 |
80 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
81 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
82 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:95:53: error: cannot find 'kCFBooleanTrue' in scope
93 | guard !(value is NSNull) else { return nil }
94 |
95 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
96 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
97 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:95:80: error: cannot find 'kCFBooleanFalse' in scope
93 | guard !(value is NSNull) else { return nil }
94 |
95 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
96 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
97 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:110:53: error: cannot find 'kCFBooleanTrue' in scope
108 | guard !(value is NSNull) else { return nil }
109 |
110 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
111 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
112 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:110:80: error: cannot find 'kCFBooleanFalse' in scope
108 | guard !(value is NSNull) else { return nil }
109 |
110 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
111 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
112 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:125:53: error: cannot find 'kCFBooleanTrue' in scope
123 | guard !(value is NSNull) else { return nil }
124 |
125 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
126 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
127 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:125:80: error: cannot find 'kCFBooleanFalse' in scope
123 | guard !(value is NSNull) else { return nil }
124 |
125 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
126 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
127 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:140:53: error: cannot find 'kCFBooleanTrue' in scope
138 | guard !(value is NSNull) else { return nil }
139 |
140 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
141 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
142 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:140:80: error: cannot find 'kCFBooleanFalse' in scope
138 | guard !(value is NSNull) else { return nil }
139 |
140 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
141 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
142 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:155:53: error: cannot find 'kCFBooleanTrue' in scope
153 | guard !(value is NSNull) else { return nil }
154 |
155 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
156 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
157 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:155:80: error: cannot find 'kCFBooleanFalse' in scope
153 | guard !(value is NSNull) else { return nil }
154 |
155 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
156 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
157 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:170:53: error: cannot find 'kCFBooleanTrue' in scope
168 | guard !(value is NSNull) else { return nil }
169 |
170 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanTrue' in scope
171 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
172 | }
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Decoder/_NSObjectDecoder+Unboxing.swift:170:80: error: cannot find 'kCFBooleanFalse' in scope
168 | guard !(value is NSNull) else { return nil }
169 |
170 | guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
| `- error: cannot find 'kCFBooleanFalse' in scope
171 | throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
172 | }
[84/145] Compiling Basic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Encoder/Container/ObjectEncoder+Boxing.swift:23:35: error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'superclass'
21 | if from == to { return 0 }
22 | guard let from = from as? AnyClass else { return nil }
23 | guard let fromSuperclass = from.superclass() else { return nil }
| `- error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'superclass'
24 | guard let distance = matchDistance(from: fromSuperclass, to: to) else { return nil }
25 | return distance + 1
[85/145] Compiling Basic CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Encoder/Container/ObjectEncoder+Boxing.swift:23:35: error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'superclass'
21 | if from == to { return 0 }
22 | guard let from = from as? AnyClass else { return nil }
23 | guard let fromSuperclass = from.superclass() else { return nil }
| `- error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'superclass'
24 | guard let distance = matchDistance(from: fromSuperclass, to: to) else { return nil }
25 | return distance + 1
[86/145] Compiling ObjectCoder ObjectEncoder+KeyedContainer.swift
/host/spi-builder-workspace/.build/checkouts/ObjectCoder/Sources/ObjectCoder/Encoder/Container/ObjectEncoder+KeyedContainer.swift:31:12: error: cannot assign through subscript: subscript is get-only
29 |
30 | mutating func encodeNil(forKey key: Key) throws {
31 | container[_converted(key)] = encoder.boxer.encodedNull(encoder)
| `- error: cannot assign through subscript: subscript is get-only
32 | }
33 |
[87/145] Emitting module ObjectCoder
[88/145] Compiling ObjectCoder ObjectEncoder+SingleValueContainer.swift
[89/145] Compiling ObjectCoder ObjectEncoder+UnkeyedContainer.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).dematerialize()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).dematerialize()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).dematerialize()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).dematerialize()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).dematerialize()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[95/145] Compiling Basic JSON.swift
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:26:21: warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
25 |
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
| |- warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineNumbers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
28 | public static let singleLocale = Options(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:27:21: warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
25 |
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
| |- warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreCached' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let singleLocale = Options(rawValue: 1 << 2)
29 | }
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:28:21: warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
:
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
28 | public static let singleLocale = Options(rawValue: 1 << 2)
| |- warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleLocale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:163:55: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
161 | if options.contains(.lineNumbers) {
162 | baseString.enumerateSubstrings(in: baseString.startIndex..<baseString.endIndex, options: [.byLines, .substringNotRequired]) { (_, substringRange, _, stop) in
163 | newlineLocations.append(substringRange.lowerBound.encodedOffset)
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
164 | }
165 | }
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:174:15: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
172 | entry.location = StringsTable.Entry.Location()
173 | }
174 | if scanner.scanString("/*", into: nil) {
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
175 | var scannedComment: NSString?
176 | if options.contains(.lineNumbers) {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:179:36: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
177 | entry.location?.comment = lineNumber(scanLocation: scanner.scanLocation, newlineLocations: newlineLocations)
178 | }
179 | scanner.scanUpTo("*/\n", into: &scannedComment)
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
180 | scanner.scanString("*/\n", into: nil)
181 | if let scannedComment = scannedComment?.trimmingCharacters(in: CharacterSet.whitespaces) as String? {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:180:13: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
178 | }
179 | scanner.scanUpTo("*/\n", into: &scannedComment)
180 | scanner.scanString("*/\n", into: nil)
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
181 | if let scannedComment = scannedComment?.trimmingCharacters(in: CharacterSet.whitespaces) as String? {
182 | entry.comment = scannedComment
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:185:12: warning: 'scanCharacters(from:into:)' is deprecated: renamed to 'scanCharacters(from:)'
183 | }
184 | }
185 | scanner.scanCharacters(from: .whitespacesAndNewlines, into: nil)
| |- warning: 'scanCharacters(from:into:)' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:185:12: warning: result of call to 'scanCharacters(from:into:)' is unused
183 | }
184 | }
185 | scanner.scanCharacters(from: .whitespacesAndNewlines, into: nil)
| `- warning: result of call to 'scanCharacters(from:into:)' is unused
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:187:34: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
185 | scanner.scanCharacters(from: .whitespacesAndNewlines, into: nil)
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
188 | scanner.scanString(";\n", into: nil)
189 | if options.contains(.lineNumbers) {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:188:12: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
188 | scanner.scanString(";\n", into: nil)
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
189 | if options.contains(.lineNumbers) {
190 | entry.location?.line = lineNumber(scanLocation: scanner.scanLocation, newlineLocations: newlineLocations)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:215:3: warning: result of call to 'write(_:maxLength:)' is unused
213 | func write(string: String) {
214 | let encodedDataArray = [UInt8](string.utf8)
215 | write(encodedDataArray, maxLength: encodedDataArray.count)
| `- warning: result of call to 'write(_:maxLength:)' is unused
216 | }
217 | }
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:26:21: warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
25 |
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
| |- warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineNumbers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
28 | public static let singleLocale = Options(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:27:21: warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
25 |
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
| |- warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreCached' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let singleLocale = Options(rawValue: 1 << 2)
29 | }
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:28:21: warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
23 | public private(set) var rawValue: UInt
24 | public init(rawValue: UInt) { self.rawValue = rawValue }
:
26 | public static let lineNumbers = Options(rawValue: 1 << 0)
27 | public static let ignoreCached = Options(rawValue: 1 << 1)
28 | public static let singleLocale = Options(rawValue: 1 << 2)
| |- warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleLocale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:163:55: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
161 | if options.contains(.lineNumbers) {
162 | baseString.enumerateSubstrings(in: baseString.startIndex..<baseString.endIndex, options: [.byLines, .substringNotRequired]) { (_, substringRange, _, stop) in
163 | newlineLocations.append(substringRange.lowerBound.encodedOffset)
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
164 | }
165 | }
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:174:15: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
172 | entry.location = StringsTable.Entry.Location()
173 | }
174 | if scanner.scanString("/*", into: nil) {
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
175 | var scannedComment: NSString?
176 | if options.contains(.lineNumbers) {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:179:36: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
177 | entry.location?.comment = lineNumber(scanLocation: scanner.scanLocation, newlineLocations: newlineLocations)
178 | }
179 | scanner.scanUpTo("*/\n", into: &scannedComment)
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
180 | scanner.scanString("*/\n", into: nil)
181 | if let scannedComment = scannedComment?.trimmingCharacters(in: CharacterSet.whitespaces) as String? {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:180:13: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
178 | }
179 | scanner.scanUpTo("*/\n", into: &scannedComment)
180 | scanner.scanString("*/\n", into: nil)
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
181 | if let scannedComment = scannedComment?.trimmingCharacters(in: CharacterSet.whitespaces) as String? {
182 | entry.comment = scannedComment
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:185:12: warning: 'scanCharacters(from:into:)' is deprecated: renamed to 'scanCharacters(from:)'
183 | }
184 | }
185 | scanner.scanCharacters(from: .whitespacesAndNewlines, into: nil)
| |- warning: 'scanCharacters(from:into:)' is deprecated: renamed to 'scanCharacters(from:)'
| `- note: use 'scanCharacters(from:)' instead
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:185:12: warning: result of call to 'scanCharacters(from:into:)' is unused
183 | }
184 | }
185 | scanner.scanCharacters(from: .whitespacesAndNewlines, into: nil)
| `- warning: result of call to 'scanCharacters(from:into:)' is unused
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:187:34: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
185 | scanner.scanCharacters(from: .whitespacesAndNewlines, into: nil)
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
188 | scanner.scanString(";\n", into: nil)
189 | if options.contains(.lineNumbers) {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:188:12: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
186 | var scannedString: NSString?
187 | scanner.scanUpTo(";\n", into: &scannedString)
188 | scanner.scanString(";\n", into: nil)
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
189 | if options.contains(.lineNumbers) {
190 | entry.location?.line = lineNumber(scanLocation: scanner.scanLocation, newlineLocations: newlineLocations)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:215:3: warning: result of call to 'write(_:maxLength:)' is unused
213 | func write(string: String) {
214 | let encodedDataArray = [UInt8](string.utf8)
215 | write(encodedDataArray, maxLength: encodedDataArray.count)
| `- warning: result of call to 'write(_:maxLength:)' is unused
216 | }
217 | }
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:41:20: warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public static let fileName = ".stringray.yml"
40 |
41 | public static let allRules: [LintRule] = [
| |- warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | MissingLocalizationLintRule(),
43 | OrphanedLocalizationLintRule(),
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:10:17: note: protocol 'LintRule' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public protocol LintRule {
| `- note: protocol 'LintRule' does not conform to the 'Sendable' protocol
11 | var info: RuleInfo { get }
12 | func scan(table: StringsTable, url: Foundation.URL, config: Linter.Config.Rule?) throws -> [LintRuleViolation]
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:49:27: warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
47 |
48 | public struct Error: LocalizedError {
49 | public private(set) var violations: [LintRuleViolation]
| `- warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
50 |
51 | public init(_ violations: [LintRuleViolation]) {
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:31:15: note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
29 | }
30 |
31 | public struct LintRuleViolation {
| `- note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
32 | public struct Location: CustomStringConvertible {
33 | public let file: Foundation.URL
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:41:20: warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public static let fileName = ".stringray.yml"
40 |
41 | public static let allRules: [LintRule] = [
| |- warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | MissingLocalizationLintRule(),
43 | OrphanedLocalizationLintRule(),
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:10:17: note: protocol 'LintRule' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public protocol LintRule {
| `- note: protocol 'LintRule' does not conform to the 'Sendable' protocol
11 | var info: RuleInfo { get }
12 | func scan(table: StringsTable, url: Foundation.URL, config: Linter.Config.Rule?) throws -> [LintRuleViolation]
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:49:27: warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
47 |
48 | public struct Error: LocalizedError {
49 | public private(set) var violations: [LintRuleViolation]
| `- warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
50 |
51 | public init(_ violations: [LintRuleViolation]) {
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:31:15: note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
29 | }
30 |
31 | public struct LintRuleViolation {
| `- note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
32 | public struct Location: CustomStringConvertible {
33 | public let file: Foundation.URL
[107/145] Compiling Basic DictionaryLiteralExtensions.swift
/host/spi-builder-workspace/Sources/RayGun/Strings Table/PlaceholderType.swift:18:13: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum PlaceholderType: String, Codable {
| `- note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
11 | case object = "String"
12 | case float = "Float"
:
16 | case pointer = "UnsafeRawPointer"
17 |
18 | static let unknown = pointer
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | init?(_ string: String) {
[108/145] Compiling Basic EditDistance.swift
/host/spi-builder-workspace/Sources/RayGun/Strings Table/PlaceholderType.swift:18:13: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum PlaceholderType: String, Codable {
| `- note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
11 | case object = "String"
12 | case float = "Float"
:
16 | case pointer = "UnsafeRawPointer"
17 |
18 | static let unknown = pointer
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | init?(_ string: String) {
[109/145] Compiling Basic FileSystem.swift
[110/145] Compiling Basic GraphAlgorithms.swift
[111/145] Emitting module Yams
[117/146] Compiling ObjectCoder ObjectEncoder.swift
BUILD FAILURE 6.0 linux