Build Information
Successful build of ASN1Decoder, reference 1.10.0 (7e1523
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 19:28:35 UTC.
Swift 6 data race errors: 13
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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/filom/ASN1Decoder.git
Reference: 1.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/filom/ASN1Decoder
* tag 1.10.0 -> FETCH_HEAD
HEAD is now at 7e15236 Update iOS target version to 12
Cloned https://github.com/filom/ASN1Decoder.git
Revision (git rev-parse @):
7e1523662c69d019a3299bbfb22fb824141dd1f6
SUCCESS checkout https://github.com/filom/ASN1Decoder.git at 1.10.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "asn1decoder",
"name": "ASN1Decoder",
"url": "https://github.com/filom/ASN1Decoder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ASN1Decoder",
"dependencies": [
]
}
]
}
Fetching https://github.com/filom/ASN1Decoder.git
[1/757] Fetching asn1decoder
Fetched https://github.com/filom/ASN1Decoder.git from cache (0.91s)
Creating working copy for https://github.com/filom/ASN1Decoder.git
Working copy of https://github.com/filom/ASN1Decoder.git resolved at 1.10.0 (7e15236)
warning: '.resolve-product-dependencies': dependency 'asn1decoder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/filom/ASN1Decoder.git
Running build ...
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/16] Compiling ASN1Decoder X509Certificate.swift
[4/17] Compiling ASN1Decoder X509ExtensionClasses.swift
[5/17] Compiling ASN1Decoder X509Extension.swift
[6/17] Compiling ASN1Decoder PKCS7_Signature.swift
[7/17] Compiling ASN1Decoder PKCS7.swift
[8/17] Compiling ASN1Decoder PKCS7_AppleReceipt.swift
[9/17] Compiling ASN1Decoder ASN1Object.swift
[10/17] Compiling ASN1Decoder OID.swift
[11/17] Compiling ASN1Decoder ASN1Encoder.swift
[12/17] Compiling ASN1Decoder ASN1Identifier.swift
[13/17] Compiling ASN1Decoder ASN1Decoder.swift
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:37:23: warning: static property 'commonName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
35 | }
36 |
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
| |- warning: static property 'commonName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'commonName' 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 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:38:23: warning: static property 'dnQualifier' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
36 |
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
| |- warning: static property 'dnQualifier' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dnQualifier' 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 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:39:23: warning: static property 'serialNumber' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
| |- warning: static property 'serialNumber' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serialNumber' 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 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:40:23: warning: static property 'givenName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
| |- warning: static property 'givenName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'givenName' 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 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:41:23: warning: static property 'surname' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
| |- warning: static property 'surname' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'surname' 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 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:42:23: warning: static property 'organizationalUnitName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
| |- warning: static property 'organizationalUnitName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationalUnitName' 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
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:43:23: warning: static property 'organizationName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
| |- warning: static property 'organizationName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationName' 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 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:44:23: warning: static property 'streetAddress' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
| |- warning: static property 'streetAddress' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'streetAddress' 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 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:45:23: warning: static property 'localityName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
| |- warning: static property 'localityName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localityName' 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
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:46:23: warning: static property 'stateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
| |- warning: static property 'stateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stateOrProvinceName' 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 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
48 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:47:23: warning: static property 'countryName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
| |- warning: static property 'countryName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'countryName' 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 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
49 | }
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:48:23: warning: static property 'email' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
48 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
| |- warning: static property 'email' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'email' 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 | }
50 |
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:53:23: warning: static property 'separator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public class ASN1DistinguishedNameFormatter {
52 |
53 | public static var separator = ", "
| |- warning: static property 'separator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'separator' 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
54 |
55 | // Format subject/issuer information in RFC1779
[14/17] Compiling ASN1Decoder ASN1DistinguishedNames.swift
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:37:23: warning: static property 'commonName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
35 | }
36 |
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
| |- warning: static property 'commonName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'commonName' 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 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:38:23: warning: static property 'dnQualifier' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
36 |
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
| |- warning: static property 'dnQualifier' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dnQualifier' 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 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:39:23: warning: static property 'serialNumber' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
| |- warning: static property 'serialNumber' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serialNumber' 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 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:40:23: warning: static property 'givenName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
| |- warning: static property 'givenName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'givenName' 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 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:41:23: warning: static property 'surname' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
| |- warning: static property 'surname' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'surname' 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 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:42:23: warning: static property 'organizationalUnitName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
| |- warning: static property 'organizationalUnitName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationalUnitName' 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
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:43:23: warning: static property 'organizationName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
| |- warning: static property 'organizationName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationName' 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 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:44:23: warning: static property 'streetAddress' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
| |- warning: static property 'streetAddress' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'streetAddress' 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 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:45:23: warning: static property 'localityName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
| |- warning: static property 'localityName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localityName' 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
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:46:23: warning: static property 'stateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
| |- warning: static property 'stateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stateOrProvinceName' 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 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
48 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:47:23: warning: static property 'countryName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
| |- warning: static property 'countryName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'countryName' 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 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
49 | }
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:48:23: warning: static property 'email' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
48 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
| |- warning: static property 'email' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'email' 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 | }
50 |
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:53:23: warning: static property 'separator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public class ASN1DistinguishedNameFormatter {
52 |
53 | public static var separator = ", "
| |- warning: static property 'separator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'separator' 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
54 |
55 | // Format subject/issuer information in RFC1779
[15/17] Emitting module ASN1Decoder
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:37:23: warning: static property 'commonName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
35 | }
36 |
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
| |- warning: static property 'commonName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'commonName' 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 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:38:23: warning: static property 'dnQualifier' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
36 |
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
| |- warning: static property 'dnQualifier' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dnQualifier' 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 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:39:23: warning: static property 'serialNumber' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
37 | public static let commonName = ASN1DistinguishedNames(oid: "2.5.4.3", representation: "CN")
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
| |- warning: static property 'serialNumber' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serialNumber' 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 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:40:23: warning: static property 'givenName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
38 | public static let dnQualifier = ASN1DistinguishedNames(oid: "2.5.4.46", representation: "DNQ")
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
| |- warning: static property 'givenName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'givenName' 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 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:41:23: warning: static property 'surname' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
39 | public static let serialNumber = ASN1DistinguishedNames(oid: "2.5.4.5", representation: "SERIALNUMBER")
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
| |- warning: static property 'surname' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'surname' 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 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:42:23: warning: static property 'organizationalUnitName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
40 | public static let givenName = ASN1DistinguishedNames(oid: "2.5.4.42", representation: "GIVENNAME")
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
| |- warning: static property 'organizationalUnitName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationalUnitName' 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
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:43:23: warning: static property 'organizationName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
41 | public static let surname = ASN1DistinguishedNames(oid: "2.5.4.4", representation: "SURNAME")
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
| |- warning: static property 'organizationName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationName' 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 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:44:23: warning: static property 'streetAddress' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
42 | public static let organizationalUnitName = ASN1DistinguishedNames(oid: "2.5.4.11", representation: "OU")
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
| |- warning: static property 'streetAddress' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'streetAddress' 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 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:45:23: warning: static property 'localityName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
43 | public static let organizationName = ASN1DistinguishedNames(oid: "2.5.4.10", representation: "O")
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
| |- warning: static property 'localityName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localityName' 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
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:46:23: warning: static property 'stateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
44 | public static let streetAddress = ASN1DistinguishedNames(oid: "2.5.4.9", representation: "STREET")
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
| |- warning: static property 'stateOrProvinceName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stateOrProvinceName' 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 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
48 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:47:23: warning: static property 'countryName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
45 | public static let localityName = ASN1DistinguishedNames(oid: "2.5.4.7", representation: "L")
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
| |- warning: static property 'countryName' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'countryName' 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 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
49 | }
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:48:23: warning: static property 'email' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @available(*, deprecated, message: "Use OID instead")
27 | public class ASN1DistinguishedNames {
| `- note: class 'ASN1DistinguishedNames' does not conform to the 'Sendable' protocol
28 |
29 | public let oid: String
:
46 | public static let stateOrProvinceName = ASN1DistinguishedNames(oid: "2.5.4.8", representation: "ST")
47 | public static let countryName = ASN1DistinguishedNames(oid: "2.5.4.6", representation: "C")
48 | public static let email = ASN1DistinguishedNames(oid: "1.2.840.113549.1.9.1", representation: "E")
| |- warning: static property 'email' is not concurrency-safe because non-'Sendable' type 'ASN1DistinguishedNames' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'email' 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 | }
50 |
/Users/admin/builder/spi-builder-workspace/ASN1Decoder/ASN1DistinguishedNames.swift:53:23: warning: static property 'separator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public class ASN1DistinguishedNameFormatter {
52 |
53 | public static var separator = ", "
| |- warning: static property 'separator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'separator' 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
54 |
55 | // Format subject/issuer information in RFC1779
[16/17] Compiling ASN1Decoder X509ExtensionAltName.swift
[17/17] Compiling ASN1Decoder X509PublicKey.swift
Build complete! (15.92s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ASN1Decoder",
"name" : "ASN1Decoder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ASN1Decoder",
"targets" : [
"ASN1Decoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ASN1DecoderTests",
"module_type" : "SwiftTarget",
"name" : "ASN1DecoderTests",
"path" : "ASN1DecoderTests",
"sources" : [
"ASN1AppleReceiptTest.swift",
"ASN1DecoderAlternativeNames.swift",
"ASN1DecoderCertificateV1.swift",
"ASN1DecoderExtensions.swift",
"ASN1DecoderPkcs7SignatureTests.swift",
"ASN1DecoderX509DecoderTests.swift",
"ASN1DecoderX509SignatureTests.swift",
"Extensions.swift"
],
"target_dependencies" : [
"ASN1Decoder"
],
"type" : "test"
},
{
"c99name" : "ASN1Decoder",
"module_type" : "SwiftTarget",
"name" : "ASN1Decoder",
"path" : "ASN1Decoder",
"product_memberships" : [
"ASN1Decoder"
],
"sources" : [
"ASN1Decoder.swift",
"ASN1DistinguishedNames.swift",
"ASN1Encoder.swift",
"ASN1Identifier.swift",
"ASN1Object.swift",
"OID.swift",
"PKCS7.swift",
"PKCS7_AppleReceipt.swift",
"PKCS7_Signature.swift",
"X509Certificate.swift",
"X509Extension.swift",
"X509ExtensionAltName.swift",
"X509ExtensionClasses.swift",
"X509PublicKey.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.