The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ASN1Parser, reference main (5cd5d3), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 17:28:28 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.16s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (1.74s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.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": "asn1parser",
      "name": "ASN1Parser",
      "url": "https://github.com/DominikHorn/ASN1Parser.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ASN1Parser",
      "dependencies": [
        {
          "identity": "bigint",
          "name": "BigInt",
          "url": "https://github.com/attaswift/BigInt.git",
          "version": "5.5.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/DominikHorn/ASN1Parser.git
[1/1114] Fetching asn1parser
Fetched https://github.com/DominikHorn/ASN1Parser.git from cache (0.88s)
Fetching https://github.com/attaswift/BigInt.git from cache
Fetched https://github.com/attaswift/BigInt.git from cache (0.46s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.1 (0.92s)
Creating working copy for https://github.com/DominikHorn/ASN1Parser.git
Working copy of https://github.com/DominikHorn/ASN1Parser.git resolved at main (5cd5d32)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.1
warning: '.resolve-product-dependencies': dependency 'asn1parser' is not used by any target
Found 1 product dependencies
  - BigInt
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DominikHorn/ASN1Parser.git
https://github.com/DominikHorn/ASN1Parser.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/24] Emitting module BigInt
[5/24] Compiling BigInt GCD.swift
[6/24] Compiling BigInt Hashable.swift
[7/24] Compiling BigInt Addition.swift
[8/24] Compiling BigInt BigInt.swift
[9/24] Compiling BigInt BigUInt.swift
[10/24] Compiling BigInt Shifts.swift
[11/24] Compiling BigInt Square Root.swift
[12/26] Compiling BigInt Subtraction.swift
[13/26] Compiling BigInt Words and Bits.swift
[14/26] Compiling BigInt Integer Conversion.swift
[15/26] Compiling BigInt Multiplication.swift
[16/26] Compiling BigInt Prime Test.swift
[17/26] Compiling BigInt Random.swift
[18/26] Compiling BigInt Exponentiation.swift
[19/26] Compiling BigInt Floating Point Conversion.swift
[20/26] Compiling BigInt Data Conversion.swift
[21/26] Compiling BigInt Division.swift
[22/26] Compiling BigInt Bitwise Ops.swift
[23/26] Compiling BigInt Codable.swift
[24/26] Compiling BigInt Comparable.swift
[25/26] Compiling BigInt Strideable.swift
[26/26] Compiling BigInt String Conversion.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 ASN1Null+DER.swift
[29/57] Compiling ASN1Parser ASN1ObjectIdentifier+DER.swift
[30/57] Compiling ASN1Parser ASN1OctetString+DER.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 Data+safeAccess.swift
[35/57] Compiling ASN1Parser ASN1ConstructionError.swift
[36/57] Compiling ASN1Parser ASN1DERParsingError.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 DERParser+TLV.swift
[41/57] Compiling ASN1Parser DERParser.swift
[42/57] Compiling ASN1Parser DERDecodable.swift
[43/57] Compiling ASN1Parser UInt8+bit.swift
[44/57] Compiling ASN1Parser ASN1BitString.swift
[45/57] Compiling ASN1Parser ASN1Boolean.swift
[46/57] Compiling ASN1Parser ASN1UTF8String.swift
[47/57] Compiling ASN1Parser ASN1Value+convenientAccess.swift
[48/57] Compiling ASN1Parser ASN1Value.swift
[49/57] Compiling ASN1Parser ASN1OctetString.swift
[50/57] Compiling ASN1Parser ASN1Sequence.swift
[51/57] Compiling ASN1Parser ASN1Set.swift
[52/57] Compiling ASN1Parser ASN1Integer.swift
[53/57] Compiling ASN1Parser ASN1Null.swift
[54/57] Compiling ASN1Parser ASN1ObjectIdentifier.swift
[55/57] Compiling ASN1Parser ASN1BitString+DER.swift
[56/57] Compiling ASN1Parser ASN1Boolean+DER.swift
[57/57] Compiling ASN1Parser ASN1Integer+DER.swift
Build complete! (6.18s)
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.