Build Information
Successful build of ASN1Decoder, reference 1.10.0 (7e1523
), with Swift 6.0 for Linux on 6 Nov 2024 19:19:58 UTC.
Swift 6 data race errors: 13
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/filom/ASN1Decoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling ASN1Decoder X509ExtensionClasses.swift
[4/17] Compiling ASN1Decoder PKCS7_Signature.swift
[5/17] Compiling ASN1Decoder X509Certificate.swift
[6/17] Compiling ASN1Decoder X509Extension.swift
[7/17] Compiling ASN1Decoder X509ExtensionAltName.swift
[8/17] Compiling ASN1Decoder PKCS7.swift
[9/17] Compiling ASN1Decoder PKCS7_AppleReceipt.swift
[10/17] Compiling ASN1Decoder ASN1Decoder.swift
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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 | }
/host/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 |
/host/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
[11/17] Compiling ASN1Decoder ASN1DistinguishedNames.swift
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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 | }
/host/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 |
/host/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
[12/17] Compiling ASN1Decoder ASN1Object.swift
[13/17] Compiling ASN1Decoder OID.swift
[14/17] Emitting module ASN1Decoder
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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 | }
/host/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 |
/host/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] Compiling ASN1Decoder ASN1Encoder.swift
[16/17] Compiling ASN1Decoder ASN1Identifier.swift
[17/17] Compiling ASN1Decoder X509PublicKey.swift
Build complete! (14.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ASN1Decoder",
"name" : "ASN1Decoder",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.