The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ASN1Swift, reference 1.2.7 (403cd9), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 21:12:53 UTC.

Swift 6 data race errors: 1

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/tikhop/ASN1Swift.git
Reference: 1.2.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tikhop/ASN1Swift
 * tag               1.2.7      -> FETCH_HEAD
HEAD is now at 403cd95 Merge pull request #9 from anton-plebanovich/fix/static-frameworks-privacy-info-bundle
Cloned https://github.com/tikhop/ASN1Swift.git
Revision (git rev-parse @):
403cd95194e6a962e16db7c0d373d89fce83e0f7
SUCCESS checkout https://github.com/tikhop/ASN1Swift.git at 1.2.7
========================================
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": "asn1swift",
      "name": "ASN1Swift",
      "url": "https://github.com/tikhop/ASN1Swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ASN1Swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tikhop/ASN1Swift.git
[1/577] Fetching asn1swift
Fetched https://github.com/tikhop/ASN1Swift.git from cache (0.94s)
Creating working copy for https://github.com/tikhop/ASN1Swift.git
Working copy of https://github.com/tikhop/ASN1Swift.git resolved at 1.2.7 (403cd95)
warning: '.resolve-product-dependencies': dependency 'asn1swift' 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/tikhop/ASN1Swift.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/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/18] Compiling ASN1Swift ASN1Decoder+Utils.swift
[5/18] Compiling ASN1Swift ASN1Decoder.swift
[6/19] Compiling ASN1Swift Foundation+ASN1Coder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Swift/Foundation+ASN1Coder.swift:66:13: warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | 	}
65 |
66 | 	static var oid: String.Encoding = String.Encoding(rawValue: 360)
   |             |- warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'oid' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'oid' 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
67 | }
68 |
[7/19] Compiling ASN1Swift DecodingError+Extensions.swift
[8/19] Compiling ASN1Swift PKCS7.swift
[9/19] Compiling ASN1Swift ASN1Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Swift/Foundation+ASN1Coder.swift:66:13: warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | 	}
65 |
66 | 	static var oid: String.Encoding = String.Encoding(rawValue: 360)
   |             |- warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'oid' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'oid' 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
67 | }
68 |
[10/19] Compiling ASN1Swift ASN1Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Swift/Foundation+ASN1Coder.swift:66:13: warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | 	}
65 |
66 | 	static var oid: String.Encoding = String.Encoding(rawValue: 360)
   |             |- warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'oid' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'oid' 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
67 | }
68 |
[11/19] Compiling ASN1Swift ASN1Templates.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Swift/Foundation+ASN1Coder.swift:66:13: warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | 	}
65 |
66 | 	static var oid: String.Encoding = String.Encoding(rawValue: 360)
   |             |- warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'oid' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'oid' 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
67 | }
68 |
[12/19] Compiling ASN1Swift ASN1Decoder+Unboxing.swift
[13/19] Compiling ASN1Swift ASN1Decoder+UnkeyedDecodingContainer.swift
[14/19] Compiling ASN1Swift ASN1Coder.swift
[15/19] Compiling ASN1Swift ASN1Decoder+Extras.swift
[16/19] Emitting module ASN1Swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Swift/Foundation+ASN1Coder.swift:66:13: warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | 	}
65 |
66 | 	static var oid: String.Encoding = String.Encoding(rawValue: 360)
   |             |- warning: static property 'oid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'oid' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'oid' 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
67 | }
68 |
[17/19] Compiling ASN1Swift ASN1Decoder+KeyedDecodingContainer.swift
[18/19] Compiling ASN1Swift ASN1Decoder+SingleValueContainer.swift
[19/19] Compiling ASN1Swift resource_bundle_accessor.swift
Build complete! (15.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ASN1Swift",
  "name" : "ASN1Swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ASN1Swift",
      "targets" : [
        "ASN1Swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ASN1SwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "ASN1SwiftTests",
      "path" : "Tests/ASN1SwiftTests",
      "sources" : [
        "ASN1SwiftPKCS7Tests.swift",
        "ASN1SwiftPrimitivesTests.swift",
        "ASN1SwiftSerializationTests.swift",
        "ASN1SwiftTLVTests.swift",
        "CustomObjects.swift",
        "ReceiptData.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ASN1Swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ASN1Swift",
      "module_type" : "SwiftTarget",
      "name" : "ASN1Swift",
      "path" : "Sources/ASN1Swift",
      "product_memberships" : [
        "ASN1Swift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ASN1Swift/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ASN1Coder.swift",
        "ASN1Decoder+Extras.swift",
        "ASN1Decoder+KeyedDecodingContainer.swift",
        "ASN1Decoder+SingleValueContainer.swift",
        "ASN1Decoder+Unboxing.swift",
        "ASN1Decoder+UnkeyedDecodingContainer.swift",
        "ASN1Decoder+Utils.swift",
        "ASN1Decoder.swift",
        "ASN1Serialization.swift",
        "ASN1Templates.swift",
        "ASN1Types.swift",
        "DecodingError+Extensions.swift",
        "Foundation+ASN1Coder.swift",
        "PKCS7/PKCS7.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.