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 Linux on 26 Apr 2025 17:19:12 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /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/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 '/host/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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DominikHorn/ASN1Parser.git
https://github.com/DominikHorn/ASN1Parser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.89s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.1 (1.96s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/24] Emitting module BigInt
[5/24] Compiling BigInt Addition.swift
[6/24] Compiling BigInt BigInt.swift
[7/24] Compiling BigInt BigUInt.swift
[8/26] Compiling BigInt Strideable.swift
[9/26] Compiling BigInt String Conversion.swift
[10/26] Compiling BigInt Random.swift
[11/26] Compiling BigInt Shifts.swift
[12/26] Compiling BigInt Square Root.swift
[13/26] Compiling BigInt Integer Conversion.swift
[14/26] Compiling BigInt Multiplication.swift
[15/26] Compiling BigInt Prime Test.swift
[16/26] Compiling BigInt Subtraction.swift
[17/26] Compiling BigInt Words and Bits.swift
[18/26] Compiling BigInt Bitwise Ops.swift
[19/26] Compiling BigInt Codable.swift
[20/26] Compiling BigInt Comparable.swift
[21/26] Compiling BigInt Floating Point Conversion.swift
[22/26] Compiling BigInt GCD.swift
[23/26] Compiling BigInt Hashable.swift
[24/26] Compiling BigInt Data Conversion.swift
[25/26] Compiling BigInt Division.swift
[26/26] Compiling BigInt Exponentiation.swift
[28/55] Emitting module ASN1Parser
/host/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
/host/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
[29/58] Compiling ASN1Parser ASN1Null+DER.swift
[30/58] Compiling ASN1Parser ASN1ObjectIdentifier+DER.swift
[31/58] Compiling ASN1Parser ASN1OctetString+DER.swift
[32/58] Compiling ASN1Parser String+leftPadding.swift
[33/58] Compiling ASN1Parser UInt8+bit.swift
[34/58] Compiling ASN1Parser ASN1BitString.swift
[35/58] Compiling ASN1Parser ASN1Boolean.swift
[36/58] Compiling ASN1Parser DERParser+TLV.swift
[37/58] Compiling ASN1Parser DERParser.swift
[38/58] Compiling ASN1Parser DERDecodable.swift
[39/58] Compiling ASN1Parser Data+safeAccess.swift
[40/58] Compiling ASN1Parser ASN1Sequence+DER.swift
[41/58] Compiling ASN1Parser ASN1Set+DER.swift
[42/58] Compiling ASN1Parser ASN1UTF8String+DER.swift
[43/58] Compiling ASN1Parser ASN1ConstructionError.swift
/host/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
/host/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
[44/58] Compiling ASN1Parser ASN1DERParsingError.swift
/host/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
/host/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
[45/58] Compiling ASN1Parser ASN1TraversalError.swift
/host/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
/host/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
[46/58] Compiling ASN1Parser ASN1ValueParsingError.swift
/host/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
/host/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
[47/58] Compiling ASN1Parser ASN1Integer.swift
[48/58] Compiling ASN1Parser ASN1Null.swift
[49/58] Compiling ASN1Parser ASN1ObjectIdentifier.swift
[50/58] Compiling ASN1Parser ASN1OctetString.swift
[51/58] Compiling ASN1Parser ASN1Sequence.swift
[52/58] Compiling ASN1Parser ASN1Set.swift
[53/58] Compiling ASN1Parser ASN1UTF8String.swift
[54/58] Compiling ASN1Parser ASN1Value+convenientAccess.swift
[55/58] Compiling ASN1Parser ASN1Value.swift
[56/58] Compiling ASN1Parser ASN1BitString+DER.swift
[57/58] Compiling ASN1Parser ASN1Boolean+DER.swift
[58/58] Compiling ASN1Parser ASN1Integer+DER.swift
Build complete! (15.55s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.