This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 ASN1Parser with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DominikHorn/ASN1Parser.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DominikHorn/ASN1Parser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5cd5d32 mention prebuilt html doc in README
Submodule path 'docc2html': checked out '2617a085550f18a4d213e8ffd34455f022ebf69b'
Submodule 'docc2html' (https://github.com/DoccZz/docc2html.git) registered for path 'docc2html'
Cloning into '/Users/admin/builder/spi-builder-workspace/docc2html'...
Cloned https://github.com/DominikHorn/ASN1Parser.git
Revision (git rev-parse @):
5cd5d322d88f668b4a4a61f406e6df71073462bd
SUCCESS checkout https://github.com/DominikHorn/ASN1Parser.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/DominikHorn/ASN1Parser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/24] Emitting module BigInt
[5/26] Compiling BigInt GCD.swift
[6/26] Compiling BigInt Hashable.swift
[7/26] Compiling BigInt Subtraction.swift
[8/26] Compiling BigInt Words and Bits.swift
[9/26] Compiling BigInt Strideable.swift
[10/26] Compiling BigInt String Conversion.swift
[11/26] Compiling BigInt Integer Conversion.swift
[12/26] Compiling BigInt Multiplication.swift
[13/26] Compiling BigInt Prime Test.swift
[14/26] Compiling BigInt Random.swift
[15/26] Compiling BigInt Shifts.swift
[16/26] Compiling BigInt Square Root.swift
[17/26] Compiling BigInt Exponentiation.swift
[18/26] Compiling BigInt Floating Point Conversion.swift
[19/26] Compiling BigInt Bitwise Ops.swift
[20/26] Compiling BigInt Codable.swift
[21/26] Compiling BigInt Comparable.swift
[22/26] Compiling BigInt Addition.swift
[23/26] Compiling BigInt BigInt.swift
[24/26] Compiling BigInt BigUInt.swift
[25/26] Compiling BigInt Data Conversion.swift
[26/26] Compiling BigInt Division.swift
[27/54] Emitting module ASN1Parser
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Support/Errors/ASN1TraversalError.swift:14:8: warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
12 |   /// Thrown upon an illegal cast, for example when the expected ASN.1 value type
13 |   /// does not match the received type. Contains the actually received value
14 |   case invalidCast(ASN1Value)
   |        `- warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
15 |
16 |   /// Thrown upon an index out of bounds access, e.g., into a sequence
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Values/ASN1Value.swift:15:17: note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
13 |  Use the provided methods and accessors to traverse the ASN.1 value tree
14 |  */
15 | public protocol ASN1Value {
   |                 `- note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
16 |   /// Compares this ASN.1 value to `other`
17 |   func isEqualTo(_ other: ASN1Value) -> Bool
[28/57] Compiling ASN1Parser Data+safeAccess.swift
[29/57] Compiling ASN1Parser ASN1ConstructionError.swift
[30/57] Compiling ASN1Parser ASN1DERParsingError.swift
[31/57] Compiling ASN1Parser ASN1TraversalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Support/Errors/ASN1TraversalError.swift:14:8: warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
12 |   /// Thrown upon an illegal cast, for example when the expected ASN.1 value type
13 |   /// does not match the received type. Contains the actually received value
14 |   case invalidCast(ASN1Value)
   |        `- warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
15 |
16 |   /// Thrown upon an index out of bounds access, e.g., into a sequence
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Values/ASN1Value.swift:15:17: note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
13 |  Use the provided methods and accessors to traverse the ASN.1 value tree
14 |  */
15 | public protocol ASN1Value {
   |                 `- note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
16 |   /// Compares this ASN.1 value to `other`
17 |   func isEqualTo(_ other: ASN1Value) -> Bool
[32/57] Compiling ASN1Parser ASN1ValueParsingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Support/Errors/ASN1TraversalError.swift:14:8: warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
12 |   /// Thrown upon an illegal cast, for example when the expected ASN.1 value type
13 |   /// does not match the received type. Contains the actually received value
14 |   case invalidCast(ASN1Value)
   |        `- warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
15 |
16 |   /// Thrown upon an index out of bounds access, e.g., into a sequence
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Values/ASN1Value.swift:15:17: note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
13 |  Use the provided methods and accessors to traverse the ASN.1 value tree
14 |  */
15 | public protocol ASN1Value {
   |                 `- note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
16 |   /// Compares this ASN.1 value to `other`
17 |   func isEqualTo(_ other: ASN1Value) -> Bool
[33/57] Compiling ASN1Parser String+leftPadding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Support/Errors/ASN1TraversalError.swift:14:8: warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
12 |   /// Thrown upon an illegal cast, for example when the expected ASN.1 value type
13 |   /// does not match the received type. Contains the actually received value
14 |   case invalidCast(ASN1Value)
   |        `- warning: associated value 'invalidCast' of 'Sendable'-conforming enum 'ASN1TraversalError' has non-sendable type 'any ASN1Value'; this is an error in the Swift 6 language mode
15 |
16 |   /// Thrown upon an index out of bounds access, e.g., into a sequence
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Parser/Values/ASN1Value.swift:15:17: note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
13 |  Use the provided methods and accessors to traverse the ASN.1 value tree
14 |  */
15 | public protocol ASN1Value {
   |                 `- note: protocol 'ASN1Value' does not conform to the 'Sendable' protocol
16 |   /// Compares this ASN.1 value to `other`
17 |   func isEqualTo(_ other: ASN1Value) -> Bool
[34/57] Compiling ASN1Parser ASN1Integer.swift
[35/57] Compiling ASN1Parser ASN1Null.swift
[36/57] Compiling ASN1Parser ASN1ObjectIdentifier.swift
[37/57] Compiling ASN1Parser ASN1Sequence+DER.swift
[38/57] Compiling ASN1Parser ASN1Set+DER.swift
[39/57] Compiling ASN1Parser ASN1UTF8String+DER.swift
[40/57] Compiling ASN1Parser UInt8+bit.swift
[41/57] Compiling ASN1Parser ASN1BitString.swift
[42/57] Compiling ASN1Parser ASN1Boolean.swift
[43/57] Compiling ASN1Parser ASN1OctetString.swift
[44/57] Compiling ASN1Parser ASN1Sequence.swift
[45/57] Compiling ASN1Parser ASN1Set.swift
[46/57] Compiling ASN1Parser ASN1UTF8String.swift
[47/57] Compiling ASN1Parser ASN1Value+convenientAccess.swift
[48/57] Compiling ASN1Parser ASN1Value.swift
[49/57] Compiling ASN1Parser ASN1Null+DER.swift
[50/57] Compiling ASN1Parser ASN1ObjectIdentifier+DER.swift
[51/57] Compiling ASN1Parser ASN1OctetString+DER.swift
[52/57] Compiling ASN1Parser DERParser+TLV.swift
[53/57] Compiling ASN1Parser DERParser.swift
[54/57] Compiling ASN1Parser DERDecodable.swift
[55/57] Compiling ASN1Parser ASN1BitString+DER.swift
[56/57] Compiling ASN1Parser ASN1Boolean+DER.swift
[57/57] Compiling ASN1Parser ASN1Integer+DER.swift
Build complete! (25.75s)
Fetching https://github.com/attaswift/BigInt.git
[1/3097] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.34s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.65s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.3.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    }
  ],
  "manifest_display_name" : "ASN1Parser",
  "name" : "ASN1Parser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ASN1Parser",
      "targets" : [
        "ASN1Parser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ASN1ParserTests",
      "module_type" : "SwiftTarget",
      "name" : "ASN1ParserTests",
      "path" : "Tests/ASN1ParserTests",
      "product_dependencies" : [
        "BigInt"
      ],
      "sources" : [
        "ConstructValueTests.swift",
        "EqualityTests.swift",
        "FullParseTests.swift",
        "ParseValueTests.swift"
      ],
      "target_dependencies" : [
        "ASN1Parser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ASN1Parser",
      "module_type" : "SwiftTarget",
      "name" : "ASN1Parser",
      "path" : "Sources/ASN1Parser",
      "product_dependencies" : [
        "BigInt"
      ],
      "product_memberships" : [
        "ASN1Parser"
      ],
      "sources" : [
        "DERParser+TLV.swift",
        "DERParser.swift",
        "Support/DERDecodable.swift",
        "Support/Data+safeAccess.swift",
        "Support/Errors/ASN1ConstructionError.swift",
        "Support/Errors/ASN1DERParsingError.swift",
        "Support/Errors/ASN1TraversalError.swift",
        "Support/Errors/ASN1ValueParsingError.swift",
        "Support/String+leftPadding.swift",
        "Support/UInt8+bit.swift",
        "Values/ASN1BitString.swift",
        "Values/ASN1Boolean.swift",
        "Values/ASN1Integer.swift",
        "Values/ASN1Null.swift",
        "Values/ASN1ObjectIdentifier.swift",
        "Values/ASN1OctetString.swift",
        "Values/ASN1Sequence.swift",
        "Values/ASN1Set.swift",
        "Values/ASN1UTF8String.swift",
        "Values/ASN1Value+convenientAccess.swift",
        "Values/ASN1Value.swift",
        "Values/DER/ASN1BitString+DER.swift",
        "Values/DER/ASN1Boolean+DER.swift",
        "Values/DER/ASN1Integer+DER.swift",
        "Values/DER/ASN1Null+DER.swift",
        "Values/DER/ASN1ObjectIdentifier+DER.swift",
        "Values/DER/ASN1OctetString+DER.swift",
        "Values/DER/ASN1Sequence+DER.swift",
        "Values/DER/ASN1Set+DER.swift",
        "Values/DER/ASN1UTF8String+DER.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.