Build Information
Successful build of Shield, reference 3.5.0 (7d19bf
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 06:32:51 UTC.
Swift 6 data race errors: 152
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:143:14: warning: static property 'UniqueIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
141 | ])
142 |
143 | static let UniqueIdentifier: Schema =
| |- warning: static property 'UniqueIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UniqueIdentifier' 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
144 | .bitString()
145 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:145:14: warning: static property 'Extensions' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
143 | public extension Schemas {
144 |
145 | static let Extensions: Schema =
| `- warning: static property 'Extensions' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
146 | .sequenceOf(Extension, size: .min(1))
147 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
143 | public extension Schemas {
144 |
145 | static let Extensions: Schema =
| |- note: annotate 'Extensions' 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
146 | .sequenceOf(Extension, size: .min(1))
147 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:131:14: warning: static property 'Time' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
129 | .integer()
130 |
131 | static let Time: Schema =
| |- warning: static property 'Time' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Time' 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
132 | .choiceOf([
133 | .time(kind: .utc),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
[310/311] Compiling ShieldX509 TBSCertificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/SubjectPublicKeyInfo.swift:40:14: warning: static property 'SubjectPublicKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public extension Schemas {
39 |
40 | static let SubjectPublicKeyInfo: Schema =
| `- warning: static property 'SubjectPublicKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
41 | .sequence([
42 | "algorithm": algorithmIdentifier(PKInfoAlgorithms),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/SubjectPublicKeyInfo.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
38 | public extension Schemas {
39 |
40 | static let SubjectPublicKeyInfo: Schema =
| |- note: annotate 'SubjectPublicKeyInfo' 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
41 | .sequence([
42 | "algorithm": algorithmIdentifier(PKInfoAlgorithms),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:91:14: warning: static property 'PKInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
89 | public extension Schemas {
90 |
91 | static let PKInfoAlgorithms: Schema.DynamicMap = [
| `- warning: static property 'PKInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
92 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
93 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 | import ShieldX500
:
89 | public extension Schemas {
90 |
91 | static let PKInfoAlgorithms: Schema.DynamicMap = [
| |- note: annotate 'PKInfoAlgorithms' 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
92 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
93 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ECParameters.swift:23:14: warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public extension Schemas {
22 |
23 | static let ECParameters: Schema =
| `- warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
24 | .choiceOf([
25 | .objectIdentifier(), // -- named curve
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ECParameters.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
21 | public extension Schemas {
22 |
23 | static let ECParameters: Schema =
| |- note: annotate 'ECParameters' 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
24 | .choiceOf([
25 | .objectIdentifier(), // -- named curve
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:96:14: warning: static property 'SignatureAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
94 | ]
95 |
96 | static let SignatureAlgorithms: Schema.DynamicMap = [
| |- warning: static property 'SignatureAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SignatureAlgorithms' 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
97 | iso.memberBody.us.rsadsi.pkcs.pkcs1.md2WithRSAEncryption.asn1: .optional(.null),
98 | iso.memberBody.us.rsadsi.pkcs.pkcs1.md4WithRSAEncryption.asn1: .optional(.null),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:112:14: warning: static property 'TBSCertificate' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
110 | ]
111 |
112 | static let TBSCertificate: Schema =
| |- warning: static property 'TBSCertificate' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TBSCertificate' 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
113 | .sequence([
114 | "version": .version(.explicit(0, Version)),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:126:14: warning: static property 'Version' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
124 | ])
125 |
126 | static let Version: Schema = .integer(allowed: 0 ..< 3, default: 0)
| |- warning: static property 'Version' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Version' 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
127 |
128 | static let CertificateSerialNumber: Schema =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:128:14: warning: static property 'CertificateSerialNumber' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
126 | static let Version: Schema = .integer(allowed: 0 ..< 3, default: 0)
127 |
128 | static let CertificateSerialNumber: Schema =
| |- warning: static property 'CertificateSerialNumber' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CertificateSerialNumber' 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
129 | .integer()
130 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Name.swift:34:14: warning: static property 'Name' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public extension Schemas {
33 |
34 | static let Name: Schema =
| `- warning: static property 'Name' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
35 | .choiceOf([
36 | ShieldX500.Schemas.rdnSequence(DirectoryNames, unknownTypeSchema: directoryString()),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Name.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldX500
14 |
:
32 | public extension Schemas {
33 |
34 | static let Name: Schema =
| |- note: annotate 'Name' 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
35 | .choiceOf([
36 | ShieldX500.Schemas.rdnSequence(DirectoryNames, unknownTypeSchema: directoryString()),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:137:14: warning: static property 'Validity' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
135 | ])
136 |
137 | static let Validity: Schema =
| |- warning: static property 'Validity' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Validity' 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
138 | .sequence([
139 | "notBefore": Time,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:143:14: warning: static property 'UniqueIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
141 | ])
142 |
143 | static let UniqueIdentifier: Schema =
| |- warning: static property 'UniqueIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UniqueIdentifier' 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
144 | .bitString()
145 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:145:14: warning: static property 'Extensions' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
143 | public extension Schemas {
144 |
145 | static let Extensions: Schema =
| `- warning: static property 'Extensions' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
146 | .sequenceOf(Extension, size: .min(1))
147 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
143 | public extension Schemas {
144 |
145 | static let Extensions: Schema =
| |- note: annotate 'Extensions' 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
146 | .sequenceOf(Extension, size: .min(1))
147 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:131:14: warning: static property 'Time' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
129 | .integer()
130 |
131 | static let Time: Schema =
| |- warning: static property 'Time' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Time' 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
132 | .choiceOf([
133 | .time(kind: .utc),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
[311/311] Emitting module ShieldX509
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CRAttributes.swift:17:21: warning: static property 'supported' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : any AttributeValue.Type]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public struct CRAttributeValuesHandler: AttributeValuesHandler {
16 |
17 | public static let supported: [ObjectIdentifier: AttributeValue.Type] = [
| `- warning: static property 'supported' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : any AttributeValue.Type]' may have shared mutable state; this is an error in the Swift 6 language mode
18 | Extensions.attributeType: Extensions.self,
19 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ObjectIdentifier.swift:17:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
15 | /// ASN.1 `OBJECT IDENTIFIER` value (aka `OID`).
16 | ///
17 | public struct ObjectIdentifier: Equatable, Hashable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | public var fields: [UInt64]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CRAttributes.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
15 | public struct CRAttributeValuesHandler: AttributeValuesHandler {
16 |
17 | public static let supported: [ObjectIdentifier: AttributeValue.Type] = [
| |- note: annotate 'supported' 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
18 | Extensions.attributeType: Extensions.self,
19 | ]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:57:21: warning: static property 'attributeType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | }
56 |
57 | public static var attributeType = iso.memberBody.us.rsadsi.pkcs.pkcs9.extensionRequest.oid
| |- warning: static property 'attributeType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'attributeType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'attributeType' 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
58 | public static var attributeHandler: AttributeValueHandler.Type = SimpleAttributeValueHandler<Extensions>.self
59 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Certificate.swift:43:14: warning: static property 'Certificate' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
41 | public extension Schemas {
42 |
43 | static let Certificate: Schema =
| `- warning: static property 'Certificate' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
44 | .sequence([
45 | "tbsCertificate": TBSCertificate,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Certificate.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldX500
14 |
:
41 | public extension Schemas {
42 |
43 | static let Certificate: Schema =
| |- note: annotate 'Certificate' 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
44 | .sequence([
45 | "tbsCertificate": TBSCertificate,
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:112:14: warning: static property 'TBSCertificate' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
110 | ]
111 |
112 | static let TBSCertificate: Schema =
| `- warning: static property 'TBSCertificate' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
113 | .sequence([
114 | "version": .version(.explicit(0, Version)),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 | import ShieldX500
:
110 | ]
111 |
112 | static let TBSCertificate: Schema =
| |- note: annotate 'TBSCertificate' 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
113 | .sequence([
114 | "version": .version(.explicit(0, Version)),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:96:14: warning: static property 'SignatureAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
94 | ]
95 |
96 | static let SignatureAlgorithms: Schema.DynamicMap = [
| |- warning: static property 'SignatureAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SignatureAlgorithms' 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
97 | iso.memberBody.us.rsadsi.pkcs.pkcs1.md2WithRSAEncryption.asn1: .optional(.null),
98 | iso.memberBody.us.rsadsi.pkcs.pkcs1.md4WithRSAEncryption.asn1: .optional(.null),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CertificationRequest.swift:48:14: warning: static property 'CertificationRequest' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
46 | public extension Schemas {
47 |
48 | static let CertificationRequest: Schema =
| `- warning: static property 'CertificationRequest' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
49 | .sequence([
50 | "certificationRequestInfo": CertificationRequestInfo,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CertificationRequest.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 | import ShieldX500
:
46 | public extension Schemas {
47 |
48 | static let CertificationRequest: Schema =
| |- note: annotate 'CertificationRequest' 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
49 | .sequence([
50 | "certificationRequestInfo": CertificationRequestInfo,
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CertificationRequestInfo.swift:54:14: warning: static property 'CertificationRequestInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
52 | ]
53 |
54 | static let CertificationRequestInfo: Schema =
| `- warning: static property 'CertificationRequestInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
55 | .sequence([
56 | "version": .version(.integer(allowed: 0 ..< 1)),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CertificationRequestInfo.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
52 | ]
53 |
54 | static let CertificationRequestInfo: Schema =
| |- note: annotate 'CertificationRequestInfo' 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
55 | .sequence([
56 | "version": .version(.integer(allowed: 0 ..< 1)),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/CertificationRequestInfo.swift:49:14: warning: static property 'CRIAttributes' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
47 | public extension Schemas {
48 |
49 | static let CRIAttributes: Schema.DynamicMap = [
| |- warning: static property 'CRIAttributes' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CRIAttributes' 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
50 | iso.memberBody.us.rsadsi.pkcs.pkcs9.extensionRequest.asn1: Extensions,
51 | iso.memberBody.us.rsadsi.pkcs.pkcs9.extendedCertificateAttributes.asn1: attributes([:], unknownTypeSchema: .any),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:145:14: warning: static property 'Extensions' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
143 | public extension Schemas {
144 |
145 | static let Extensions: Schema =
| `- warning: static property 'Extensions' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
146 | .sequenceOf(Extension, size: .min(1))
147 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
143 | public extension Schemas {
144 |
145 | static let Extensions: Schema =
| |- note: annotate 'Extensions' 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
146 | .sequenceOf(Extension, size: .min(1))
147 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Name.swift:34:14: warning: static property 'Name' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public extension Schemas {
33 |
34 | static let Name: Schema =
| `- warning: static property 'Name' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
35 | .choiceOf([
36 | ShieldX500.Schemas.rdnSequence(DirectoryNames, unknownTypeSchema: directoryString()),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Name.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldX500
14 |
:
32 | public extension Schemas {
33 |
34 | static let Name: Schema =
| |- note: annotate 'Name' 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
35 | .choiceOf([
36 | ShieldX500.Schemas.rdnSequence(DirectoryNames, unknownTypeSchema: directoryString()),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/SubjectPublicKeyInfo.swift:40:14: warning: static property 'SubjectPublicKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public extension Schemas {
39 |
40 | static let SubjectPublicKeyInfo: Schema =
| `- warning: static property 'SubjectPublicKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
41 | .sequence([
42 | "algorithm": algorithmIdentifier(PKInfoAlgorithms),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/SubjectPublicKeyInfo.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
38 | public extension Schemas {
39 |
40 | static let SubjectPublicKeyInfo: Schema =
| |- note: annotate 'SubjectPublicKeyInfo' 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
41 | .sequence([
42 | "algorithm": algorithmIdentifier(PKInfoAlgorithms),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:49:14: warning: static property 'DirectoryNames' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
47 | public extension Schemas {
48 |
49 | static let DirectoryNames: Schema.DynamicMap = [
| `- warning: static property 'DirectoryNames' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
50 | iso_itu.ds.attributeType.name.asn1: X520Name,
51 | iso_itu.ds.attributeType.surname.asn1: X520Name,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 | import ShieldX500
:
47 | public extension Schemas {
48 |
49 | static let DirectoryNames: Schema.DynamicMap = [
| |- note: annotate 'DirectoryNames' 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
50 | iso_itu.ds.attributeType.name.asn1: X520Name,
51 | iso_itu.ds.attributeType.surname.asn1: X520Name,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:69:14: warning: static property 'X520Name' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
67 | ]
68 |
69 | static let X520Name = directoryString(max: 32768)
| |- warning: static property 'X520Name' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520Name' 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
70 | static let X520CommonName = directoryString(max: 64)
71 | static let X520LocalityName = directoryString(max: 128)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:70:14: warning: static property 'X520CommonName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | static let X520Name = directoryString(max: 32768)
70 | static let X520CommonName = directoryString(max: 64)
| |- warning: static property 'X520CommonName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520CommonName' 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
71 | static let X520LocalityName = directoryString(max: 128)
72 | static let X520StateOrProvinceName = directoryString(max: 128)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:71:14: warning: static property 'X520LocalityName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
69 | static let X520Name = directoryString(max: 32768)
70 | static let X520CommonName = directoryString(max: 64)
71 | static let X520LocalityName = directoryString(max: 128)
| |- warning: static property 'X520LocalityName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520LocalityName' 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
72 | static let X520StateOrProvinceName = directoryString(max: 128)
73 | static let X520OrganizationName = directoryString(max: 64)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:72:14: warning: static property 'X520StateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
70 | static let X520CommonName = directoryString(max: 64)
71 | static let X520LocalityName = directoryString(max: 128)
72 | static let X520StateOrProvinceName = directoryString(max: 128)
| |- warning: static property 'X520StateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520StateOrProvinceName' 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
73 | static let X520OrganizationName = directoryString(max: 64)
74 | static let X520OrganizationalUnitName = directoryString(max: 64)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:73:14: warning: static property 'X520OrganizationName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
71 | static let X520LocalityName = directoryString(max: 128)
72 | static let X520StateOrProvinceName = directoryString(max: 128)
73 | static let X520OrganizationName = directoryString(max: 64)
| |- warning: static property 'X520OrganizationName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520OrganizationName' 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
74 | static let X520OrganizationalUnitName = directoryString(max: 64)
75 | static let X520Title = directoryString(max: 64)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:74:14: warning: static property 'X520OrganizationalUnitName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
72 | static let X520StateOrProvinceName = directoryString(max: 128)
73 | static let X520OrganizationName = directoryString(max: 64)
74 | static let X520OrganizationalUnitName = directoryString(max: 64)
| |- warning: static property 'X520OrganizationalUnitName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520OrganizationalUnitName' 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
75 | static let X520Title = directoryString(max: 64)
76 | static let X520Pseudonym = directoryString(max: 128)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:75:14: warning: static property 'X520Title' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
73 | static let X520OrganizationName = directoryString(max: 64)
74 | static let X520OrganizationalUnitName = directoryString(max: 64)
75 | static let X520Title = directoryString(max: 64)
| |- warning: static property 'X520Title' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520Title' 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
76 | static let X520Pseudonym = directoryString(max: 128)
77 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/DirectoryNames.swift:76:14: warning: static property 'X520Pseudonym' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
74 | static let X520OrganizationalUnitName = directoryString(max: 64)
75 | static let X520Title = directoryString(max: 64)
76 | static let X520Pseudonym = directoryString(max: 128)
| |- warning: static property 'X520Pseudonym' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'X520Pseudonym' 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
77 |
78 | @available(*, deprecated, message: "Use directoryString(max:) instead")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ECParameters.swift:23:14: warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public extension Schemas {
22 |
23 | static let ECParameters: Schema =
| `- warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
24 | .choiceOf([
25 | .objectIdentifier(), // -- named curve
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ECParameters.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
21 | public extension Schemas {
22 |
23 | static let ECParameters: Schema =
| |- note: annotate 'ECParameters' 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
24 | .choiceOf([
25 | .objectIdentifier(), // -- named curve
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ECPrivateKey.swift:43:14: warning: static property 'ECPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
41 | public extension Schemas {
42 |
43 | static let ECPrivateKey: Schema =
| `- warning: static property 'ECPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
44 | .sequence([
45 | "version": .version(.integer(allowed: 1 ..< 2)),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ECPrivateKey.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
41 | public extension Schemas {
42 |
43 | static let ECPrivateKey: Schema =
| |- note: annotate 'ECPrivateKey' 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
44 | .sequence([
45 | "version": .version(.integer(allowed: 1 ..< 2)),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/EDIPartyName.swift:32:14: warning: static property 'EDIPartyName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public extension Schemas {
31 |
32 | static let EDIPartyName: Schema =
| `- warning: static property 'EDIPartyName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
33 | .sequence([
34 | "nameAssigner": .explicit(0, .optional(directoryString())),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/EDIPartyName.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldX500
14 |
:
30 | public extension Schemas {
31 |
32 | static let EDIPartyName: Schema =
| |- note: annotate 'EDIPartyName' 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
33 | .sequence([
34 | "nameAssigner": .explicit(0, .optional(directoryString())),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/EncryptedPrivateKeyInfo.swift:35:14: warning: static property 'EncryptedPrivateKeyInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
33 | public extension Schemas {
34 |
35 | static let EncryptedPrivateKeyInfoAlgorithms: Schema.DynamicMap = [
| `- warning: static property 'EncryptedPrivateKeyInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
36 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
37 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/EncryptedPrivateKeyInfo.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
33 | public extension Schemas {
34 |
35 | static let EncryptedPrivateKeyInfoAlgorithms: Schema.DynamicMap = [
| |- note: annotate 'EncryptedPrivateKeyInfoAlgorithms' 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
36 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
37 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/EncryptedPrivateKeyInfo.swift:40:14: warning: static property 'EncryptedPrivateKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ]
39 |
40 | static let EncryptedPrivateKeyInfo: Schema =
| |- warning: static property 'EncryptedPrivateKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EncryptedPrivateKeyInfo' 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
41 | .sequence([
42 | "encryptionAlgorithm": algorithmIdentifier(EncryptedPrivateKeyInfoAlgorithms),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionAuthorityKeyIdentifier.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct AuthorityKeyIdentifier: Equatable, Hashable, Codable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.authorityKeyIdentifier.oid
| `- warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let asn1Schema: Schema = Schemas.AuthorityKeyIdentifier
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ObjectIdentifier.swift:17:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
15 | /// ASN.1 `OBJECT IDENTIFIER` value (aka `OID`).
16 | ///
17 | public struct ObjectIdentifier: Equatable, Hashable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | public var fields: [UInt64]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionAuthorityKeyIdentifier.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
16 | public struct AuthorityKeyIdentifier: Equatable, Hashable, Codable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.authorityKeyIdentifier.oid
| |- note: annotate 'extensionID' 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 | public static let asn1Schema: Schema = Schemas.AuthorityKeyIdentifier
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionAuthorityKeyIdentifier.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.authorityKeyIdentifier.oid
19 | public static let asn1Schema: Schema = Schemas.AuthorityKeyIdentifier
| |- warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asn1Schema' 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
20 |
21 | public var keyIdentifier: KeyIdentifier?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionAuthorityKeyIdentifier.swift:43:14: warning: static property 'AuthorityKeyIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
41 | public extension Schemas {
42 |
43 | static let AuthorityKeyIdentifier: Schema =
| |- warning: static property 'AuthorityKeyIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AuthorityKeyIdentifier' 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
44 | .sequence([
45 | "keyIdentifier": .optional(.implicit(0, KeyIdentifier)),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/KeyIdentifier.swift:23:14: warning: static property 'KeyIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public extension Schemas {
22 |
23 | static let KeyIdentifier: Schema = .octetString()
| `- warning: static property 'KeyIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/KeyIdentifier.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
21 | public extension Schemas {
22 |
23 | static let KeyIdentifier: Schema = .octetString()
| |- note: annotate 'KeyIdentifier' 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
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/GeneralName.swift:128:14: warning: static property 'GeneralNames' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
126 | public extension Schemas {
127 |
128 | static let GeneralNames: Schema =
| `- warning: static property 'GeneralNames' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
129 | .sequenceOf(GeneralName, size: .min(1))
130 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/GeneralName.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
126 | public extension Schemas {
127 |
128 | static let GeneralNames: Schema =
| |- note: annotate 'GeneralNames' 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
129 | .sequenceOf(GeneralName, size: .min(1))
130 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:128:14: warning: static property 'CertificateSerialNumber' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
126 | static let Version: Schema = .integer(allowed: 0 ..< 3, default: 0)
127 |
128 | static let CertificateSerialNumber: Schema =
| |- warning: static property 'CertificateSerialNumber' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CertificateSerialNumber' 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
129 | .integer()
130 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionBasicConstraints.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct BasicConstraints: Equatable, Hashable, Codable, CriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.basicConstraints.oid
| `- warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let asn1Schema = Schemas.BasicConstraints
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ObjectIdentifier.swift:17:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
15 | /// ASN.1 `OBJECT IDENTIFIER` value (aka `OID`).
16 | ///
17 | public struct ObjectIdentifier: Equatable, Hashable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | public var fields: [UInt64]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionBasicConstraints.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
16 | public struct BasicConstraints: Equatable, Hashable, Codable, CriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.basicConstraints.oid
| |- note: annotate 'extensionID' 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 | public static let asn1Schema = Schemas.BasicConstraints
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionBasicConstraints.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.basicConstraints.oid
19 | public static let asn1Schema = Schemas.BasicConstraints
| |- warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asn1Schema' 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
20 |
21 | public var ca: Bool
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionBasicConstraints.swift:36:14: warning: static property 'BasicConstraints' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public extension Schemas {
35 |
36 | static let BasicConstraints: Schema =
| |- warning: static property 'BasicConstraints' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BasicConstraints' 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
37 | .sequence([
38 | "ca": .boolean(default: false),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionExtKeyUsage.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public struct ExtKeyUsage: Equatable, Hashable, Codable, ExtensionValue {
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.extKeyUsage.oid
| |- warning: static property 'extensionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extensionID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extensionID' 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 | public static var asn1Schema = Schemas.extKeyUsageExtension
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionExtKeyUsage.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.extKeyUsage.oid
19 | public static var asn1Schema = Schemas.extKeyUsageExtension
| |- warning: static property 'asn1Schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'asn1Schema' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'asn1Schema' 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
20 |
21 | public var keyPurposes: Set<OID>
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionExtKeyUsage.swift:34:14: warning: static property 'extKeyUsageExtension' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public extension Schemas {
33 |
34 | static let extKeyUsageExtension: Schema = .sequenceOf(.objectIdentifier())
| `- warning: static property 'extKeyUsageExtension' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionExtKeyUsage.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
32 | public extension Schemas {
33 |
34 | static let extKeyUsageExtension: Schema = .sequenceOf(.objectIdentifier())
| |- note: annotate 'extKeyUsageExtension' 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
35 |
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionIssuerAlternativeName.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct IssuerAltName: Equatable, Hashable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.issuerAltName.oid
| `- warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let asn1Schema = Schemas.IssuerAltName
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ObjectIdentifier.swift:17:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
15 | /// ASN.1 `OBJECT IDENTIFIER` value (aka `OID`).
16 | ///
17 | public struct ObjectIdentifier: Equatable, Hashable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | public var fields: [UInt64]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionIssuerAlternativeName.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
16 | public struct IssuerAltName: Equatable, Hashable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.issuerAltName.oid
| |- note: annotate 'extensionID' 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 | public static let asn1Schema = Schemas.IssuerAltName
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionIssuerAlternativeName.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.issuerAltName.oid
19 | public static let asn1Schema = Schemas.IssuerAltName
| |- warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asn1Schema' 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
20 |
21 | public var names: GeneralNames
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionIssuerAlternativeName.swift:34:14: warning: static property 'IssuerAltName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public extension Schemas {
33 |
34 | static let IssuerAltName: Schema = GeneralNames
| |- warning: static property 'IssuerAltName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IssuerAltName' 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
35 |
36 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
| |- warning: static property 'extensionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extensionID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extensionID' 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 | public static var asn1Schema = Schemas.keyUsageExtension
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
19 | public static var asn1Schema = Schemas.keyUsageExtension
| |- warning: static property 'asn1Schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'asn1Schema' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'asn1Schema' 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
20 |
21 | public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:46:14: warning: static property 'keyUsageExtension' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public extension Schemas {
45 |
46 | static let keyUsageExtension: Schema = .bitString()
| `- warning: static property 'keyUsageExtension' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
44 | public extension Schemas {
45 |
46 | static let keyUsageExtension: Schema = .bitString()
| |- note: annotate 'keyUsageExtension' 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
47 |
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:27:21: warning: static property 'digitalSignature' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
25 | }
26 |
27 | public static let digitalSignature = KeyUsage(rawValue: 1 << 0)
| |- warning: static property 'digitalSignature' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digitalSignature' 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 nonRepudiation = KeyUsage(rawValue: 1 << 1)
29 | public static let keyEncipherment = KeyUsage(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:28:21: warning: static property 'nonRepudiation' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
26 |
27 | public static let digitalSignature = KeyUsage(rawValue: 1 << 0)
28 | public static let nonRepudiation = KeyUsage(rawValue: 1 << 1)
| |- warning: static property 'nonRepudiation' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonRepudiation' 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 | public static let keyEncipherment = KeyUsage(rawValue: 1 << 2)
30 | public static let dataEncipherment = KeyUsage(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:29:21: warning: static property 'keyEncipherment' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
27 | public static let digitalSignature = KeyUsage(rawValue: 1 << 0)
28 | public static let nonRepudiation = KeyUsage(rawValue: 1 << 1)
29 | public static let keyEncipherment = KeyUsage(rawValue: 1 << 2)
| |- warning: static property 'keyEncipherment' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyEncipherment' 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
30 | public static let dataEncipherment = KeyUsage(rawValue: 1 << 3)
31 | public static let keyAgreement = KeyUsage(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:30:21: warning: static property 'dataEncipherment' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
28 | public static let nonRepudiation = KeyUsage(rawValue: 1 << 1)
29 | public static let keyEncipherment = KeyUsage(rawValue: 1 << 2)
30 | public static let dataEncipherment = KeyUsage(rawValue: 1 << 3)
| |- warning: static property 'dataEncipherment' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataEncipherment' 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
31 | public static let keyAgreement = KeyUsage(rawValue: 1 << 4)
32 | public static let keyCertSign = KeyUsage(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:31:21: warning: static property 'keyAgreement' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
29 | public static let keyEncipherment = KeyUsage(rawValue: 1 << 2)
30 | public static let dataEncipherment = KeyUsage(rawValue: 1 << 3)
31 | public static let keyAgreement = KeyUsage(rawValue: 1 << 4)
| |- warning: static property 'keyAgreement' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyAgreement' 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
32 | public static let keyCertSign = KeyUsage(rawValue: 1 << 5)
33 | public static let cRLSign = KeyUsage(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:32:21: warning: static property 'keyCertSign' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
30 | public static let dataEncipherment = KeyUsage(rawValue: 1 << 3)
31 | public static let keyAgreement = KeyUsage(rawValue: 1 << 4)
32 | public static let keyCertSign = KeyUsage(rawValue: 1 << 5)
| |- warning: static property 'keyCertSign' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyCertSign' 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
33 | public static let cRLSign = KeyUsage(rawValue: 1 << 6)
34 | public static let encipherOnly = KeyUsage(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:33:21: warning: static property 'cRLSign' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
31 | public static let keyAgreement = KeyUsage(rawValue: 1 << 4)
32 | public static let keyCertSign = KeyUsage(rawValue: 1 << 5)
33 | public static let cRLSign = KeyUsage(rawValue: 1 << 6)
| |- warning: static property 'cRLSign' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cRLSign' 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
34 | public static let encipherOnly = KeyUsage(rawValue: 1 << 7)
35 | public static let decipherOnly = KeyUsage(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:34:21: warning: static property 'encipherOnly' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
32 | public static let keyCertSign = KeyUsage(rawValue: 1 << 5)
33 | public static let cRLSign = KeyUsage(rawValue: 1 << 6)
34 | public static let encipherOnly = KeyUsage(rawValue: 1 << 7)
| |- warning: static property 'encipherOnly' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encipherOnly' 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
35 | public static let decipherOnly = KeyUsage(rawValue: 1 << 8)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:35:21: warning: static property 'decipherOnly' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
33 | public static let cRLSign = KeyUsage(rawValue: 1 << 6)
34 | public static let encipherOnly = KeyUsage(rawValue: 1 << 7)
35 | public static let decipherOnly = KeyUsage(rawValue: 1 << 8)
| |- warning: static property 'decipherOnly' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decipherOnly' 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
36 |
37 | public static let contentCommitment = nonRepudiation
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionKeyUsage.swift:37:21: warning: static property 'contentCommitment' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |
16 | public struct KeyUsage: OptionSet, Equatable, Hashable, Codable, CriticalExtensionValue {
| `- note: consider making struct 'KeyUsage' conform to the 'Sendable' protocol
17 |
18 | public static var extensionID = iso_itu.ds.certificateExtension.keyUsage.oid
:
35 | public static let decipherOnly = KeyUsage(rawValue: 1 << 8)
36 |
37 | public static let contentCommitment = nonRepudiation
| |- warning: static property 'contentCommitment' is not concurrency-safe because non-'Sendable' type 'KeyUsage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentCommitment' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectAlternativeName.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct SubjectAltName: Equatable, Hashable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.subjectAltName.oid
| `- warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let asn1Schema = Schemas.SubjectAltName
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ObjectIdentifier.swift:17:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
15 | /// ASN.1 `OBJECT IDENTIFIER` value (aka `OID`).
16 | ///
17 | public struct ObjectIdentifier: Equatable, Hashable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | public var fields: [UInt64]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectAlternativeName.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
16 | public struct SubjectAltName: Equatable, Hashable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.subjectAltName.oid
| |- note: annotate 'extensionID' 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 | public static let asn1Schema = Schemas.SubjectAltName
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectAlternativeName.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.subjectAltName.oid
19 | public static let asn1Schema = Schemas.SubjectAltName
| |- warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asn1Schema' 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
20 |
21 | public var names: GeneralNames
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectAlternativeName.swift:34:14: warning: static property 'SubjectAltName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public extension Schemas {
33 |
34 | static let SubjectAltName: Schema = GeneralNames
| |- warning: static property 'SubjectAltName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SubjectAltName' 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
35 |
36 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectKeyIdentifier.swift:18:21: warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct SubjectKeyIdentifier: Equatable, Hashable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.subjectKeyIdentifier.oid
| `- warning: static property 'extensionID' is not concurrency-safe because non-'Sendable' type 'OID' (aka 'ObjectIdentifier') may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let asn1Schema = Schemas.SubjectKeyIdentifier
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ObjectIdentifier.swift:17:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
15 | /// ASN.1 `OBJECT IDENTIFIER` value (aka `OID`).
16 | ///
17 | public struct ObjectIdentifier: Equatable, Hashable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | public var fields: [UInt64]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectKeyIdentifier.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
16 | public struct SubjectKeyIdentifier: Equatable, Hashable, NonCriticalExtensionValue {
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.subjectKeyIdentifier.oid
| |- note: annotate 'extensionID' 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 | public static let asn1Schema = Schemas.SubjectKeyIdentifier
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectKeyIdentifier.swift:19:21: warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public static let extensionID = iso_itu.ds.certificateExtension.subjectKeyIdentifier.oid
19 | public static let asn1Schema = Schemas.SubjectKeyIdentifier
| |- warning: static property 'asn1Schema' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asn1Schema' 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
20 |
21 | public var value: KeyIdentifier
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/ExtensionSubjectKeyIdentifier.swift:47:14: warning: static property 'SubjectKeyIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
45 | public extension Schemas {
46 |
47 | static let SubjectKeyIdentifier: Schema = KeyIdentifier
| |- warning: static property 'SubjectKeyIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SubjectKeyIdentifier' 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
48 |
49 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:58:21: warning: static property 'attributeHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | public static var attributeType = iso.memberBody.us.rsadsi.pkcs.pkcs9.extensionRequest.oid
58 | public static var attributeHandler: AttributeValueHandler.Type = SimpleAttributeValueHandler<Extensions>.self
| |- warning: static property 'attributeHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'attributeHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'attributeHandler' 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
59 |
60 | private var storage: [Extension]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/Extensions.swift:148:14: warning: static property 'Extension' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
146 | .sequenceOf(Extension, size: .min(1))
147 |
148 | static let Extension: Schema =
| |- warning: static property 'Extension' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Extension' 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
149 | .sequence([
150 | "extnID": .objectIdentifier(),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/GeneralName.swift:131:14: warning: static property 'GeneralName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
129 | .sequenceOf(GeneralName, size: .min(1))
130 |
131 | static let GeneralName: Schema =
| |- warning: static property 'GeneralName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GeneralName' 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
132 | .choiceOf([
133 | .implicit(0, OtherName),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/OtherName.swift:54:14: warning: static property 'OtherName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public extension Schemas {
53 |
54 | static let OtherName: Schema =
| `- warning: static property 'OtherName' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
55 | .sequence([
56 | "typeId": .type(.objectIdentifier()),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/OtherName.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
52 | public extension Schemas {
53 |
54 | static let OtherName: Schema =
| |- note: annotate 'OtherName' 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
55 | .sequence([
56 | "typeId": .type(.objectIdentifier()),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBES2Params.swift:39:14: warning: static property 'PBES2ParamsKeyDerivationFuncAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
37 | private typealias NISTAlgs = iso_itu.country.us.organization.gov.csor.nistAlgorithms.aes
38 |
39 | static let PBES2ParamsKeyDerivationFuncAlgorithms: Schema.DynamicMap = [
| `- warning: static property 'PBES2ParamsKeyDerivationFuncAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
40 | iso.memberBody.us.rsadsi.pkcs.pkcs5.pbkdf2.asn1: PBKDF2Params
41 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBES2Params.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
11 | import BigInt
12 | import Foundation
13 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
14 | import ShieldOID
15 |
:
37 | private typealias NISTAlgs = iso_itu.country.us.organization.gov.csor.nistAlgorithms.aes
38 |
39 | static let PBES2ParamsKeyDerivationFuncAlgorithms: Schema.DynamicMap = [
| |- note: annotate 'PBES2ParamsKeyDerivationFuncAlgorithms' 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
40 | iso.memberBody.us.rsadsi.pkcs.pkcs5.pbkdf2.asn1: PBKDF2Params
41 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBKDF2Params.swift:49:14: warning: static property 'PBKDF2Params' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
47 | ]
48 |
49 | static let PBKDF2Params: Schema =
| `- warning: static property 'PBKDF2Params' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
50 | .sequence([
51 | "salt": .choiceOf([.octetString(), .objectIdentifier()]),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBKDF2Params.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 | import ShieldOID
14 |
:
47 | ]
48 |
49 | static let PBKDF2Params: Schema =
| |- note: annotate 'PBKDF2Params' 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
50 | .sequence([
51 | "salt": .choiceOf([.octetString(), .objectIdentifier()]),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBES2Params.swift:43:14: warning: static property 'PBES2ParamsEncryptionSchemeAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
41 | ]
42 |
43 | static let PBES2ParamsEncryptionSchemeAlgorithms: Schema.DynamicMap = [
| |- warning: static property 'PBES2ParamsEncryptionSchemeAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PBES2ParamsEncryptionSchemeAlgorithms' 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
44 | RSADSIEncAlgs.rc2CBC.asn1: .null,
45 | RSADSIEncAlgs.rc2ECB.asn1: .null,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBES2Params.swift:86:14: warning: static property 'PBES2Params' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ]
85 |
86 | static let PBES2Params: Schema =
| |- warning: static property 'PBES2Params' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PBES2Params' 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
87 | .sequence([
88 | "keyDerivationFunc": algorithmIdentifier(PBES2ParamsKeyDerivationFuncAlgorithms),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PBKDF2Params.swift:41:22: warning: static property 'PRFAglorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
39 | private typealias DigAlgs = iso.memberBody.us.rsadsi.digestAlgorithm
40 |
41 | private static let PRFAglorithms: Schema.DynamicMap = [
| |- warning: static property 'PRFAglorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PRFAglorithms' 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 | DigAlgs.hmacWithSHA1.asn1: .null,
43 | DigAlgs.hmacWithSHA224.asn1: .null,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PrivateKeyInfo.swift:39:14: warning: static property 'PrivateKeyInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
37 | public extension Schemas {
38 |
39 | static let PrivateKeyInfoAlgorithms: Schema.DynamicMap = [
| `- warning: static property 'PrivateKeyInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
40 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
41 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PrivateKeyInfo.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
11 | import Foundation
12 | import ShieldOID
13 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
14 |
15 | public struct PrivateKeyInfo: Equatable, Hashable, Codable {
:
37 | public extension Schemas {
38 |
39 | static let PrivateKeyInfoAlgorithms: Schema.DynamicMap = [
| |- note: annotate 'PrivateKeyInfoAlgorithms' 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
40 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
41 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PrivateKeyInfo.swift:44:14: warning: static property 'PrivateKeyInfoVersion' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ]
43 |
44 | static let PrivateKeyInfoVersion: Schema = .integer(allowed: 0 ..< 1)
| |- warning: static property 'PrivateKeyInfoVersion' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PrivateKeyInfoVersion' 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
45 |
46 | static let PrivateKeyInfo: Schema =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/PrivateKeyInfo.swift:46:14: warning: static property 'PrivateKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let PrivateKeyInfoVersion: Schema = .integer(allowed: 0 ..< 1)
45 |
46 | static let PrivateKeyInfo: Schema =
| |- warning: static property 'PrivateKeyInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PrivateKeyInfo' 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
47 | .sequence([
48 | "version": .version(PrivateKeyInfoVersion),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/RSAPrivateKey.swift:75:14: warning: static property 'RSAPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
73 | public extension Schemas {
74 |
75 | static let RSAPrivateKey: Schema =
| `- warning: static property 'RSAPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
76 | .sequence([
77 | "version": .version(.integer(allowed: 0 ..< 2)),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/RSAPrivateKey.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
73 | public extension Schemas {
74 |
75 | static let RSAPrivateKey: Schema =
| |- note: annotate 'RSAPrivateKey' 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
76 | .sequence([
77 | "version": .version(.integer(allowed: 0 ..< 2)),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/RSAPrivateKey.swift:89:14: warning: static property 'RSAPrivateKeyOtherPrimeInfos' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
87 | ])
88 |
89 | static let RSAPrivateKeyOtherPrimeInfos: Schema =
| |- warning: static property 'RSAPrivateKeyOtherPrimeInfos' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPrivateKeyOtherPrimeInfos' 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
90 | .sequenceOf(RSAPrivateKeyOtherPrimeInfo, size: .min(1))
91 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/RSAPrivateKey.swift:92:14: warning: static property 'RSAPrivateKeyOtherPrimeInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
90 | .sequenceOf(RSAPrivateKeyOtherPrimeInfo, size: .min(1))
91 |
92 | static let RSAPrivateKeyOtherPrimeInfo: Schema =
| |- warning: static property 'RSAPrivateKeyOtherPrimeInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPrivateKeyOtherPrimeInfo' 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
93 | .sequence([
94 | "prime": .integer(),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/RSAPublicKey.swift:38:14: warning: static property 'RSAPublicKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public extension Schemas {
37 |
38 | static let RSAPublicKey: Schema =
| `- warning: static property 'RSAPublicKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
39 | .sequence([
40 | "modulus": .integer(),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/RSAPublicKey.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import Foundation
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 |
:
36 | public extension Schemas {
37 |
38 | static let RSAPublicKey: Schema =
| |- note: annotate 'RSAPublicKey' 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
39 | .sequence([
40 | "modulus": .integer(),
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:91:14: warning: static property 'PKInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
89 | public extension Schemas {
90 |
91 | static let PKInfoAlgorithms: Schema.DynamicMap = [
| |- warning: static property 'PKInfoAlgorithms' is not concurrency-safe because non-'Sendable' type 'Schema.DynamicMap' (aka 'Dictionary<ASN1, Schema>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PKInfoAlgorithms' 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
92 | iso.memberBody.us.rsadsi.pkcs.pkcs1.rsaEncryption.asn1: .null,
93 | iso.memberBody.us.ansix962.keyType.ecPublicKey.asn1: ECParameters,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/ASN1.swift:18:22: note: enum 'ASN1' does not conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: enum 'ASN1' does not conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:126:14: warning: static property 'Version' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
124 | ])
125 |
126 | static let Version: Schema = .integer(allowed: 0 ..< 3, default: 0)
| |- warning: static property 'Version' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Version' 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
127 |
128 | static let CertificateSerialNumber: Schema =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:137:14: warning: static property 'Validity' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
135 | ])
136 |
137 | static let Validity: Schema =
| |- warning: static property 'Validity' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Validity' 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
138 | .sequence([
139 | "notBefore": Time,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:143:14: warning: static property 'UniqueIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
141 | ])
142 |
143 | static let UniqueIdentifier: Schema =
| |- warning: static property 'UniqueIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UniqueIdentifier' 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
144 | .bitString()
145 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldX509/TBSCertificate.swift:131:14: warning: static property 'Time' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
129 | .integer()
130 |
131 | static let Time: Schema =
| |- warning: static property 'Time' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Time' 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
132 | .choiceOf([
133 | .time(kind: .utc),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
[312/314] Compiling ShieldPKCS Schemas.swift
[313/314] Compiling ShieldPKCS Moved.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:21:14: warning: static property 'RSAPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public extension Schemas {
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
| `- warning: static property 'RSAPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import ShieldX509
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 | // The following types have been moved to ShieldX509 due to issues with circular references
:
19 |
20 | public extension Schemas {
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
| |- note: annotate 'RSAPrivateKey' 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
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:22:14: warning: static property 'RSAPrivateKeyOtherPrimeInfos' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public extension Schemas {
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
| |- warning: static property 'RSAPrivateKeyOtherPrimeInfos' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPrivateKeyOtherPrimeInfos' 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
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:23:14: warning: static property 'RSAPrivateKeyOtherPrimeInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
| |- warning: static property 'RSAPrivateKeyOtherPrimeInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPrivateKeyOtherPrimeInfo' 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
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
25 | static let ECParameters = ShieldX509.Schemas.ECParameters
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:24:14: warning: static property 'RSAPublicKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
| |- warning: static property 'RSAPublicKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPublicKey' 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
25 | static let ECParameters = ShieldX509.Schemas.ECParameters
26 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:25:14: warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
25 | static let ECParameters = ShieldX509.Schemas.ECParameters
| |- warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ECParameters' 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
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
[314/314] Emitting module ShieldPKCS
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:21:14: warning: static property 'RSAPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public extension Schemas {
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
| `- warning: static property 'RSAPrivateKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
10 |
11 | import ShieldX509
12 | import PotentASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PotentASN1'
13 |
14 | // The following types have been moved to ShieldX509 due to issues with circular references
:
19 |
20 | public extension Schemas {
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
| |- note: annotate 'RSAPrivateKey' 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
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:22:14: warning: static property 'RSAPrivateKeyOtherPrimeInfos' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public extension Schemas {
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
| |- warning: static property 'RSAPrivateKeyOtherPrimeInfos' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPrivateKeyOtherPrimeInfos' 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
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:23:14: warning: static property 'RSAPrivateKeyOtherPrimeInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
| |- warning: static property 'RSAPrivateKeyOtherPrimeInfo' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPrivateKeyOtherPrimeInfo' 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
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
25 | static let ECParameters = ShieldX509.Schemas.ECParameters
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:24:14: warning: static property 'RSAPublicKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
| |- warning: static property 'RSAPublicKey' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RSAPublicKey' 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
25 | static let ECParameters = ShieldX509.Schemas.ECParameters
26 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
/Users/admin/builder/spi-builder-workspace/Sources/ShieldPKCS/Moved.swift:25:14: warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
23 | static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo
24 | static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey
25 | static let ECParameters = ShieldX509.Schemas.ECParameters
| |- warning: static property 'ECParameters' is not concurrency-safe because non-'Sendable' type 'Schema' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ECParameters' 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
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/PotentASN1/Schema.swift:50:22: note: enum 'Schema' does not conform to the 'Sendable' protocol
48 | /// ```
49 | ///
50 | public indirect enum Schema: Equatable, Hashable {
| `- note: enum 'Schema' does not conform to the 'Sendable' protocol
51 |
52 | public typealias DynamicMap = [ASN1: Schema]
[315/326] Compiling ShieldSecurity AlgorithmIdentifier.swift
[316/326] Compiling ShieldSecurity Certificate.swift
[317/327] Compiling ShieldSecurity Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/Logger.swift:13:13: warning: var 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import OSLog
12 |
13 | private var defaultLogger = Logger()
| |- warning: var 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLogger' 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
14 |
15 | extension Logger {
[318/327] Compiling ShieldSecurity CertificationRequest.swift
[319/327] Compiling ShieldSecurity Errors.swift
[320/327] Emitting module ShieldSecurity
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/Logger.swift:13:13: warning: var 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import OSLog
12 |
13 | private var defaultLogger = Logger()
| |- warning: var 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLogger' 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
14 |
15 | extension Logger {
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:24:23: warning: static property 'certificate' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public enum PEM {
15 |
16 | public struct Kind: RawRepresentable {
| `- note: consider making struct 'Kind' conform to the 'Sendable' protocol
17 |
18 | public var rawValue: String
:
22 | }
23 |
24 | public static let certificate = Self(rawValue: "CERTIFICATE")
| |- warning: static property 'certificate' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'certificate' 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
25 | public static let pkcs8PrivateKey = Self(rawValue: "PRIVATE KEY")
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:25:23: warning: static property 'pkcs8PrivateKey' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public enum PEM {
15 |
16 | public struct Kind: RawRepresentable {
| `- note: consider making struct 'Kind' conform to the 'Sendable' protocol
17 |
18 | public var rawValue: String
:
23 |
24 | public static let certificate = Self(rawValue: "CERTIFICATE")
25 | public static let pkcs8PrivateKey = Self(rawValue: "PRIVATE KEY")
| |- warning: static property 'pkcs8PrivateKey' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pkcs8PrivateKey' 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
26 |
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:29:22: warning: static property 'pemRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static let pemRegex =
| `- warning: static property 'pemRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
30 | Regex(#"-----BEGIN ([\w\s]+)-----\s*([a-zA-Z0-9\s/+]+=*)\s*-----END \1-----"#)
31 | private static let pemWhitespaceRegex = Regex(#"[\n\t\s]+"#)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
10 |
11 | import Foundation
12 | import Regex
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
13 |
14 | public enum PEM {
:
27 | }
28 |
29 | private static let pemRegex =
| |- note: annotate 'pemRegex' 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
30 | Regex(#"-----BEGIN ([\w\s]+)-----\s*([a-zA-Z0-9\s/+]+=*)\s*-----END \1-----"#)
31 | private static let pemWhitespaceRegex = Regex(#"[\n\t\s]+"#)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:31:22: warning: static property 'pemWhitespaceRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static let pemRegex =
30 | Regex(#"-----BEGIN ([\w\s]+)-----\s*([a-zA-Z0-9\s/+]+=*)\s*-----END \1-----"#)
31 | private static let pemWhitespaceRegex = Regex(#"[\n\t\s]+"#)
| |- warning: static property 'pemWhitespaceRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pemWhitespaceRegex' 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
32 |
33 | public static func read(pem: String) -> [(Kind, Data)] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecCertificate.swift:386:1: warning: extension declares a conformance of imported type 'SecCertificate' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Security' introduce this conformance in the future
384 | }
385 |
386 | extension SecCertificate: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'SecCertificate' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Security' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
387 |
388 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecKeyPair.swift:30:21: warning: static property 'exportDerivedKeySizeDefault' is not concurrency-safe because non-'Sendable' type 'SecKeyPair.ExportKeySize' may have shared mutable state; this is an error in the Swift 6 language mode
28 | /// - ``export(password:derivedKeyLength:keyDerivationTiming:)``
29 | ///
30 | public static let exportDerivedKeySizeDefault: ExportKeySize = .bits256
| |- warning: static property 'exportDerivedKeySizeDefault' is not concurrency-safe because non-'Sendable' type 'SecKeyPair.ExportKeySize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exportDerivedKeySizeDefault' 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
31 |
32 | /// Default final psuedorandom algorthm for PBKDF generated export keys.
:
328 | #endif
329 |
330 | public enum ExportKeySize: Int {
| `- note: consider making enum 'ExportKeySize' conform to the 'Sendable' protocol
331 | case bits128 = 16
332 | case bits192 = 24
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecKeyPair.swift:37:21: warning: static property 'exportPsuedoRandomAlgorithmDefault' is not concurrency-safe because non-'Sendable' type 'PBKDF.PsuedoRandomAlgorithm' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// - ``export(password:derivedKeyLength:keyDerivationTiming:)``
36 | ///
37 | public static let exportPsuedoRandomAlgorithmDefault: PBKDF.PsuedoRandomAlgorithm = .hmacSha512
| `- warning: static property 'exportPsuedoRandomAlgorithmDefault' is not concurrency-safe because non-'Sendable' type 'PBKDF.PsuedoRandomAlgorithm' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Default PBKDF generation time for generated export keys.
/Users/admin/builder/spi-builder-workspace/Sources/ShieldCrypto/PBKDF.swift:39:17: note: struct 'PsuedoRandomAlgorithm' does not conform to the 'Sendable' protocol
37 | }
38 |
39 | public struct PsuedoRandomAlgorithm: Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: struct 'PsuedoRandomAlgorithm' does not conform to the 'Sendable' protocol
40 | public let rawValue: CCPseudoRandomAlgorithm
41 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecKeyPair.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ShieldCrypto'
14 | import PotentASN1
15 | import Security
16 | import ShieldCrypto
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ShieldCrypto'
17 | import ShieldOID
18 | import ShieldX509
:
35 | /// - ``export(password:derivedKeyLength:keyDerivationTiming:)``
36 | ///
37 | public static let exportPsuedoRandomAlgorithmDefault: PBKDF.PsuedoRandomAlgorithm = .hmacSha512
| |- note: annotate 'exportPsuedoRandomAlgorithmDefault' 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
38 |
39 | /// Default PBKDF generation time for generated export keys.
[321/327] Compiling ShieldSecurity SecKeyType.swift
[322/327] Compiling ShieldSecurity SecAccessibility.swift
[323/327] Compiling ShieldSecurity SecCertificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecCertificate.swift:386:1: warning: extension declares a conformance of imported type 'SecCertificate' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Security' introduce this conformance in the future
384 | }
385 |
386 | extension SecCertificate: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'SecCertificate' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Security' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
387 |
388 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecCertificate.swift:152:53: warning: capture of 'trust' with non-sendable type 'SecTrust' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 | queue.async {
151 |
152 | let status = SecTrustEvaluateAsyncWithError(trust, queue) { _, result, error in
| `- warning: capture of 'trust' with non-sendable type 'SecTrust' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | continuation.resume(with: .success((result, error)))
154 | }
Security.SecTrust:1:14: note: class 'SecTrust' does not conform to the 'Sendable' protocol
1 | public class SecTrust : _CFObject {
| `- note: class 'SecTrust' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecCertificate.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
12 | import PotentASN1
13 | import Regex
14 | import Security
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
15 | import ShieldCrypto
16 | import ShieldOID
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:24:23: warning: static property 'certificate' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public enum PEM {
15 |
16 | public struct Kind: RawRepresentable {
| `- note: consider making struct 'Kind' conform to the 'Sendable' protocol
17 |
18 | public var rawValue: String
:
22 | }
23 |
24 | public static let certificate = Self(rawValue: "CERTIFICATE")
| |- warning: static property 'certificate' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'certificate' 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
25 | public static let pkcs8PrivateKey = Self(rawValue: "PRIVATE KEY")
26 |
[324/327] Compiling ShieldSecurity PEM.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:24:23: warning: static property 'certificate' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public enum PEM {
15 |
16 | public struct Kind: RawRepresentable {
| `- note: consider making struct 'Kind' conform to the 'Sendable' protocol
17 |
18 | public var rawValue: String
:
22 | }
23 |
24 | public static let certificate = Self(rawValue: "CERTIFICATE")
| |- warning: static property 'certificate' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'certificate' 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
25 | public static let pkcs8PrivateKey = Self(rawValue: "PRIVATE KEY")
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:25:23: warning: static property 'pkcs8PrivateKey' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public enum PEM {
15 |
16 | public struct Kind: RawRepresentable {
| `- note: consider making struct 'Kind' conform to the 'Sendable' protocol
17 |
18 | public var rawValue: String
:
23 |
24 | public static let certificate = Self(rawValue: "CERTIFICATE")
25 | public static let pkcs8PrivateKey = Self(rawValue: "PRIVATE KEY")
| |- warning: static property 'pkcs8PrivateKey' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pkcs8PrivateKey' 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
26 |
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:29:22: warning: static property 'pemRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static let pemRegex =
| `- warning: static property 'pemRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
30 | Regex(#"-----BEGIN ([\w\s]+)-----\s*([a-zA-Z0-9\s/+]+=*)\s*-----END \1-----"#)
31 | private static let pemWhitespaceRegex = Regex(#"[\n\t\s]+"#)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
10 |
11 | import Foundation
12 | import Regex
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
13 |
14 | public enum PEM {
:
27 | }
28 |
29 | private static let pemRegex =
| |- note: annotate 'pemRegex' 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
30 | Regex(#"-----BEGIN ([\w\s]+)-----\s*([a-zA-Z0-9\s/+]+=*)\s*-----END \1-----"#)
31 | private static let pemWhitespaceRegex = Regex(#"[\n\t\s]+"#)
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:31:22: warning: static property 'pemWhitespaceRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static let pemRegex =
30 | Regex(#"-----BEGIN ([\w\s]+)-----\s*([a-zA-Z0-9\s/+]+=*)\s*-----END \1-----"#)
31 | private static let pemWhitespaceRegex = Regex(#"[\n\t\s]+"#)
| |- warning: static property 'pemWhitespaceRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pemWhitespaceRegex' 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
32 |
33 | public static func read(pem: String) -> [(Kind, Data)] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
[325/327] Compiling ShieldSecurity SecIdentity.swift
[326/327] Compiling ShieldSecurity SecKey.swift
[327/327] Compiling ShieldSecurity SecKeyPair.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecKeyPair.swift:30:21: warning: static property 'exportDerivedKeySizeDefault' is not concurrency-safe because non-'Sendable' type 'SecKeyPair.ExportKeySize' may have shared mutable state; this is an error in the Swift 6 language mode
28 | /// - ``export(password:derivedKeyLength:keyDerivationTiming:)``
29 | ///
30 | public static let exportDerivedKeySizeDefault: ExportKeySize = .bits256
| |- warning: static property 'exportDerivedKeySizeDefault' is not concurrency-safe because non-'Sendable' type 'SecKeyPair.ExportKeySize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exportDerivedKeySizeDefault' 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
31 |
32 | /// Default final psuedorandom algorthm for PBKDF generated export keys.
:
328 | #endif
329 |
330 | public enum ExportKeySize: Int {
| `- note: consider making enum 'ExportKeySize' conform to the 'Sendable' protocol
331 | case bits128 = 16
332 | case bits192 = 24
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecKeyPair.swift:37:21: warning: static property 'exportPsuedoRandomAlgorithmDefault' is not concurrency-safe because non-'Sendable' type 'PBKDF.PsuedoRandomAlgorithm' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// - ``export(password:derivedKeyLength:keyDerivationTiming:)``
36 | ///
37 | public static let exportPsuedoRandomAlgorithmDefault: PBKDF.PsuedoRandomAlgorithm = .hmacSha512
| `- warning: static property 'exportPsuedoRandomAlgorithmDefault' is not concurrency-safe because non-'Sendable' type 'PBKDF.PsuedoRandomAlgorithm' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Default PBKDF generation time for generated export keys.
/Users/admin/builder/spi-builder-workspace/Sources/ShieldCrypto/PBKDF.swift:39:17: note: struct 'PsuedoRandomAlgorithm' does not conform to the 'Sendable' protocol
37 | }
38 |
39 | public struct PsuedoRandomAlgorithm: Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: struct 'PsuedoRandomAlgorithm' does not conform to the 'Sendable' protocol
40 | public let rawValue: CCPseudoRandomAlgorithm
41 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/SecKeyPair.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ShieldCrypto'
14 | import PotentASN1
15 | import Security
16 | import ShieldCrypto
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ShieldCrypto'
17 | import ShieldOID
18 | import ShieldX509
:
35 | /// - ``export(password:derivedKeyLength:keyDerivationTiming:)``
36 | ///
37 | public static let exportPsuedoRandomAlgorithmDefault: PBKDF.PsuedoRandomAlgorithm = .hmacSha512
| |- note: annotate 'exportPsuedoRandomAlgorithmDefault' 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
38 |
39 | /// Default PBKDF generation time for generated export keys.
/Users/admin/builder/spi-builder-workspace/Sources/ShieldSecurity/PEM.swift:25:23: warning: static property 'pkcs8PrivateKey' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public enum PEM {
15 |
16 | public struct Kind: RawRepresentable {
| `- note: consider making struct 'Kind' conform to the 'Sendable' protocol
17 |
18 | public var rawValue: String
:
23 |
24 | public static let certificate = Self(rawValue: "CERTIFICATE")
25 | public static let pkcs8PrivateKey = Self(rawValue: "PRIVATE KEY")
| |- warning: static property 'pkcs8PrivateKey' is not concurrency-safe because non-'Sendable' type 'PEM.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pkcs8PrivateKey' 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
26 |
27 | }
[328/330] Compiling Shield ModuleExports.swift
[329/330] Emitting module Shield
[330/330] Compiling Shield resource_bundle_accessor.swift
Build complete! (71.53s)
Build complete.
{
"dependencies" : [
{
"identity" : "potentcodables",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.3",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/outfoxx/PotentCodables.git"
},
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sharplet/Regex.git"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Shield",
"name" : "Shield",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Shield",
"targets" : [
"Shield",
"ShieldSecurity",
"ShieldCrypto",
"ShieldOID",
"ShieldPKCS",
"ShieldX509",
"ShieldX500"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShieldX509",
"module_type" : "SwiftTarget",
"name" : "ShieldX509",
"path" : "Sources/ShieldX509",
"product_dependencies" : [
"PotentCodables",
"Algorithms"
],
"product_memberships" : [
"Shield"
],
"sources" : [
"AlgorithmIdentifier.swift",
"AttributeValueHandlers.swift",
"Attributes.swift",
"CRAttributes.swift",
"Certificate.swift",
"CertificateBuilder.swift",
"CertificationRequest.swift",
"CertificationRequestBuilder.swift",
"CertificationRequestInfo.swift",
"DirectoryNames.swift",
"ECParameters.swift",
"ECPrivateKey.swift",
"EDIPartyName.swift",
"EncryptedPrivateKeyInfo.swift",
"ExtensionAuthorityKeyIdentifier.swift",
"ExtensionBasicConstraints.swift",
"ExtensionExtKeyUsage.swift",
"ExtensionIssuerAlternativeName.swift",
"ExtensionKeyUsage.swift",
"ExtensionSubjectAlternativeName.swift",
"ExtensionSubjectKeyIdentifier.swift",
"ExtensionValue.swift",
"Extensions.swift",
"GeneralName.swift",
"KeyIdentifier.swift",
"Name.swift",
"OtherName.swift",
"PBES2Params.swift",
"PBKDF2Params.swift",
"PrivateKeyInfo.swift",
"RSAPrivateKey.swift",
"RSAPublicKey.swift",
"Schemas.swift",
"SubjectPublicKeyInfo.swift",
"TBSCertificate.swift"
],
"target_dependencies" : [
"ShieldCrypto",
"ShieldX500",
"ShieldOID"
],
"type" : "library"
},
{
"c99name" : "ShieldX500",
"module_type" : "SwiftTarget",
"name" : "ShieldX500",
"path" : "Sources/ShieldX500",
"product_dependencies" : [
"PotentCodables"
],
"product_memberships" : [
"Shield"
],
"sources" : [
"AttributeTypeAndValue.swift",
"AttributeValueHandlers.swift",
"DistinguishedNameBuilder.swift",
"DistinguishedNameStringComposer.swift",
"DistinguishedNameStringParser.swift",
"NamingStyles.swift",
"RelativeDistinguishedName.swift",
"Schemas.swift"
],
"target_dependencies" : [
"ShieldOID"
],
"type" : "library"
},
{
"c99name" : "ShieldTests",
"module_type" : "SwiftTarget",
"name" : "ShieldTests",
"path" : "Tests",
"sources" : [
"CertificateBuilderECTests.swift",
"CertificateBuilderRSATests.swift",
"CertificateDecoderTests.swift",
"CertificationRequestBuilderTests.swift",
"CryptorTests.swift",
"DigestTests.swift",
"DistinguishedNameComposerTests.swift",
"DistinguishedNameParserTests.swift",
"ErrorsTests.swift",
"ExtensionsTests.swift",
"HmacTests.swift",
"OIDTests.swift",
"SecCertificateTests.swift",
"SecIdentityTests.swift",
"SecKeyPairTests.swift",
"SecKeyTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"Shield"
],
"type" : "test"
},
{
"c99name" : "ShieldSecurity",
"module_type" : "SwiftTarget",
"name" : "ShieldSecurity",
"path" : "Sources/ShieldSecurity",
"product_dependencies" : [
"PotentCodables",
"Regex"
],
"product_memberships" : [
"Shield"
],
"sources" : [
"AlgorithmIdentifier.swift",
"Certificate.swift",
"CertificationRequest.swift",
"Errors.swift",
"Logger.swift",
"PEM.swift",
"SecAccessibility.swift",
"SecCertificate.swift",
"SecIdentity.swift",
"SecKey.swift",
"SecKeyPair.swift",
"SecKeyType.swift"
],
"target_dependencies" : [
"ShieldCrypto",
"ShieldOID",
"ShieldPKCS",
"ShieldX500",
"ShieldX509"
],
"type" : "library"
},
{
"c99name" : "ShieldPKCS",
"module_type" : "SwiftTarget",
"name" : "ShieldPKCS",
"path" : "Sources/ShieldPKCS",
"product_dependencies" : [
"PotentCodables"
],
"product_memberships" : [
"Shield"
],
"sources" : [
"Moved.swift",
"Schemas.swift"
],
"target_dependencies" : [
"ShieldX509"
],
"type" : "library"
},
{
"c99name" : "ShieldOID",
"module_type" : "SwiftTarget",
"name" : "ShieldOID",
"path" : "Sources/ShieldOID",
"product_dependencies" : [
"PotentCodables"
],
"product_memberships" : [
"Shield"
],
"sources" : [
"ISO-ITU.swift",
"ISO.swift",
"ITU.swift",
"OIDs.swift"
],
"type" : "library"
},
{
"c99name" : "ShieldCrypto",
"module_type" : "SwiftTarget",
"name" : "ShieldCrypto",
"path" : "Sources/ShieldCrypto",
"product_memberships" : [
"Shield"
],
"sources" : [
"Cryptor.swift",
"Digest.swift",
"Errors.swift",
"HMAC.swift",
"PBKDF.swift",
"Random.swift"
],
"type" : "library"
},
{
"c99name" : "Shield",
"module_type" : "SwiftTarget",
"name" : "Shield",
"path" : "Sources/Shield",
"product_memberships" : [
"Shield"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Shield/Shield.docc",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ModuleExports.swift"
],
"target_dependencies" : [
"ShieldSecurity",
"ShieldCrypto",
"ShieldOID",
"ShieldPKCS",
"ShieldX509",
"ShieldX500"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.