Build Information
Failed to build stringray, reference 0.4.0 (ee805f
), with Swift 6.0 for Linux on 31 Oct 2024 00:18:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/g-off/stringray.git
Reference: 0.4.0
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
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at ee805f8 allows sort to operate on a single locale instead of all
Cloned https://github.com/g-off/stringray.git
Revision (git rev-parse @):
ee805f8067165934b7b471e8001780873f181619
SUCCESS checkout https://github.com/g-off/stringray.git at 0.4.0
========================================
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-2":/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 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/apple/swift-package-manager.git
Fetching https://github.com/g-Off/XcodeProject.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/g-Off/CommandRegistry.git
[1/33] Fetching commandregistry
[34/962] Fetching commandregistry, swiftytexttable
[35/1575] Fetching commandregistry, swiftytexttable, xcodeproject
[1576/11477] Fetching commandregistry, swiftytexttable, xcodeproject, yams
Fetched https://github.com/g-Off/CommandRegistry.git from cache (0.36s)
[2038/11444] Fetching swiftytexttable, xcodeproject, yams
[11445/153118] Fetching swiftytexttable, xcodeproject, yams, swift-package-manager
Fetched https://github.com/g-Off/XcodeProject.git from cache (13.37s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (13.37s)
Fetched https://github.com/jpsim/Yams.git from cache (13.42s)
Fetched https://github.com/apple/swift-package-manager.git from cache (13.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.51s)
Computing version for https://github.com/g-Off/CommandRegistry.git
Computed https://github.com/g-Off/CommandRegistry.git at 0.1.2 (0.52s)
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.19s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.49s)
Computing version for https://github.com/g-Off/XcodeProject.git
Computed https://github.com/g-Off/XcodeProject.git at 0.5.1 (0.50s)
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/g-Off/ObjectCoder.git
[1/288] Fetching version
[289/321] Fetching version, objectcoder
Fetched https://github.com/mxcl/Version.git from cache (0.18s)
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.50s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.2.0 (2.92s)
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/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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.2.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Building for debugging...
[0/34] Write sources
[11/34] Compiling clibc libc.c
[12/34] Write sources
[13/34] Compiling writer.c
[14/34] Compiling api.c
[15/34] Compiling parser.c
[16/34] Compiling emitter.c
[17/34] Compiling reader.c
[18/34] Write swift-version-24593BA9C3E375BF.txt
[19/34] Compiling scanner.c
[21/85] Emitting module Version
[22/85] Compiling Version Version+Range.swift
[23/85] Compiling Version Version.swift
[24/85] Emitting module SPMLibc
[25/85] Compiling SPMLibc libc.swift
[26/86] Wrapping AST for SPMLibc for debugging
[28/97] Compiling POSIX getcwd.swift
[29/97] Compiling POSIX isatty.swift
[30/97] Compiling POSIX env.swift
[31/97] Compiling POSIX exit.swift
[32/98] Compiling POSIX rename.swift
[33/98] Compiling POSIX realpath.swift
[34/98] Compiling POSIX stat.swift
[35/98] Compiling POSIX usleep.swift
[36/98] Emitting module POSIX
[37/98] Compiling POSIX Error.swift
[38/98] Compiling POSIX chdir.swift
[39/98] Compiling POSIX readdir.swift
[40/99] Wrapping AST for POSIX for debugging
[46/99] Emitting module ObjectCoder
[47/102] Compiling Yams Node.Scalar.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) {
[48/102] Compiling Yams Node.Sequence.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) {
/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
[51/103] Compiling Version Version+Foundation.swift
[52/106] Compiling Version Version+Codable.swift
[53/108] Compiling Version Version+Comparable.swift
[54/138] Compiling Basic DeltaAlgorithm.swift
[55/138] Compiling Basic DiagnosticsEngine.swift
[56/138] Compiling ObjectCoder EncodingStorage.swift
[57/138] Compiling Basic CacheableSequence.swift
[58/138] Compiling Basic CollectionAlgorithms.swift
[59/138] Compiling Basic FileSystem.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 | }
[60/138] Compiling Basic GraphAlgorithms.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 | }
[61/138] Compiling Basic JSON.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
[62/138] Compiling Basic Await.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
[63/138] Emitting module SwiftyTextTable
[64/138] Compiling SwiftyTextTable TextTable.swift
[65/138] 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 |
[66/139] 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 |
[67/139] Compiling Basic DictionaryLiteralExtensions.swift
[68/139] Compiling Basic EditDistance.swift
[70/139] Compiling Basic ByteString.swift
[71/139] Compiling Basic CStringArray.swift
[79/141] Emitting module Yams
[84/141] Compiling Basic CollectionExtensions.swift
[85/141] Compiling Basic Condition.swift
[87/141] Wrapping AST for Version for debugging
[88/141] Wrapping AST for SwiftyTextTable for debugging
[90/141] Compiling ObjectCoder ObjectEncoder+UnkeyedContainer.swift
[91/141] Compiling ObjectCoder ObjectEncoder+SingleValueContainer.swift
[92/141] Compiling ObjectCoder ObjectEncoder.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)
BUILD FAILURE 6.0 linux