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

Failed to build ASN1Kit, reference master (bab197), with Swift 6.1 for Linux on 27 Apr 2025 07:07:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/ASN1Kit.git
Reference: master
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/PADL/ASN1Kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bab1973 Version 1.1.0
Cloned https://github.com/PADL/ASN1Kit.git
Revision (git rev-parse @):
bab197338819c6e5b20e8b3986ec36e86149500e
SUCCESS checkout https://github.com/PADL/ASN1Kit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PADL/ASN1Kit.git
https://github.com/PADL/ASN1Kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "http://github.com/Quick/Nimble"
    },
    {
      "identity" : "datakit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftCommon/DataKit.git"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "http://github.com/Carthage/Commandant"
    },
    {
      "identity" : "ref-gemcommonskit",
      "requirement" : {
        "branch" : [
          "1.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gematik/ref-GemCommonsKit"
    }
  ],
  "manifest_display_name" : "ASN1Kit",
  "name" : "ASN1Kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "ASN1Kit",
      "targets" : [
        "ASN1Kit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLI",
      "targets" : [
        "CLI",
        "ASN1Kit"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "CLI"
      ],
      "sources" : [
        "ParseCommand.swift",
        "VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ASN1Kit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ASN1KitTests",
      "module_type" : "SwiftTarget",
      "name" : "ASN1KitTests",
      "path" : "Tests/ASN1KitTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "ASN1ConstructedEncodingTest.swift",
        "ASN1DecodedTagEncodingTest.swift",
        "ASN1DecoderTest.swift",
        "ASN1LengthEncodingTest.swift",
        "ASN1ObjectExtEncodingTest.swift",
        "ASN1PrimitiveEncodingTest.swift",
        "DataScannerTest.swift",
        "EquatableASN1Object.swift",
        "ObjectIdentifierTest.swift",
        "OutputStreamBuffer.swift",
        "XCTestManifests.swift",
        "encodable/ArrayExtASN1EncodingTest.swift",
        "encodable/BitStringASN1EncodingTest.swift",
        "encodable/BoolExtASN1EncodingTest.swift",
        "encodable/DataExtASN1EncodingTest.swift",
        "encodable/DateExtASN1EncodingTest.swift",
        "encodable/IntExtASN1EncodingTest.swift",
        "encodable/StringExtASN1EncodingTest.swift",
        "extension/DataExtASN1IntTest.swift",
        "extension/DataExtUIntTest.swift",
        "extension/IntExtLengthTest.swift",
        "extension/Nimbe+ASN1Data.swift",
        "extension/UIntExtTagNoTest.swift"
      ],
      "target_dependencies" : [
        "ASN1Kit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ASN1Kit",
      "module_type" : "SwiftTarget",
      "name" : "ASN1Kit",
      "path" : "Sources/ASN1Kit",
      "product_dependencies" : [
        "DataKit",
        "GemCommonsKit"
      ],
      "product_memberships" : [
        "ASN1Kit",
        "CLI"
      ],
      "sources" : [
        "ASN1Data.swift",
        "ASN1DecodedTag.swift",
        "ASN1Decoder.swift",
        "ASN1Error.swift",
        "ASN1Int.swift",
        "ASN1Object.swift",
        "ASN1Tag.swift",
        "DataScanner.swift",
        "ObjectIdentifier.swift",
        "encodable/ASN1CodableType.swift",
        "encodable/ASN1Object+Encoding.swift",
        "encodable/Array+ASN1Encoding.swift",
        "encodable/Bool+ASN1Encoding.swift",
        "encodable/Data+ASN1Encoding.swift",
        "encodable/Date+ASN1Encoding.swift",
        "encodable/GeneralizedTimeDateFormatter.swift",
        "encodable/Int+ASN1Encoding.swift",
        "encodable/String+ASN1Encoding.swift",
        "extension/ASN1DecodedTag+Encoding.swift",
        "extension/ASN1Object+Subscript.swift",
        "extension/ASN1Primitive+Description.swift",
        "extension/Data+ASN1Int.swift",
        "extension/Data+UInt.swift",
        "extension/Int+Length.swift",
        "extension/OutputStream+UInt8.swift",
        "extension/String+Subscript.swift",
        "extension/UInt+TagNo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/gematik/ref-GemCommonsKit
[1/415] Fetching ref-gemcommonskit
Fetched https://github.com/gematik/ref-GemCommonsKit from cache (0.22s)
Fetching http://github.com/Quick/Nimble
Fetching https://github.com/SwiftCommon/DataKit.git
Fetching http://github.com/Carthage/Commandant
[1/1224] Fetching datakit
[479/3553] Fetching datakit, commandant
Fetched http://github.com/Carthage/Commandant from cache (0.53s)
[1213/20791] Fetching datakit, nimble
Fetched https://github.com/SwiftCommon/DataKit.git from cache (2.02s)
Fetched http://github.com/Quick/Nimble from cache (2.06s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (4.02s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (0.78s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.72s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (1.83s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.32s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.40s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.40s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for http://github.com/Quick/Nimble
Working copy of http://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/SwiftCommon/DataKit.git
Working copy of https://github.com/SwiftCommon/DataKit.git resolved at 1.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/gematik/ref-GemCommonsKit
Working copy of https://github.com/gematik/ref-GemCommonsKit resolved at 1.2.0 (699ab9c)
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/43] Compiling Commandant Result+Additions.swift
[8/44] Compiling Commandant OrderedSet.swift
[9/44] Compiling Commandant Switch.swift
[10/44] Compiling DataKit Data+ASCIIString.swift
[11/44] Compiling DataKit Data+UTF8String.swift
[12/44] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | 			let components = unwrappedStringValue.split(
238 | 				omittingEmptySubsequences: true,
239 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | 			)
241 | 			var resultValues: [T] = []
_StringProcessing.Collection.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element}
  |               `- note: where 'C' = 'String.Element' (aka 'Character')
4 |
[13/44] Compiling GemCommonsKit WeakArray.swift
[14/44] Compiling GemCommonsKit Synchronized.swift
[15/44] Compiling GemCommonsKit SynchronizedVar.swift
[16/45] Compiling Commandant HelpCommand.swift
[17/45] Compiling GemCommonsKit Thread+Internal.swift
[18/45] Compiling GemCommonsKit ResourceLoader.swift
[19/45] Emitting module DataKit
[20/45] Compiling GemCommonsKit Data+empty.swift
[21/45] Compiling GemCommonsKit String+Digits.swift
[22/45] Compiling GemCommonsKit WeakRef.swift
[23/45] Compiling DataKit Data+HexString.swift
[24/45] Compiling GemCommonsKit AnyWrapper.swift
[25/45] Compiling GemCommonsKit BlockingVar.swift
[26/45] Compiling GemCommonsKit CommonError.swift
[27/45] Compiling GemCommonsKit DLog.swift
[28/45] Compiling Commandant Errors.swift
[29/45] Emitting module Commandant
[34/45] Compiling GemCommonsKit Array+Data.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 |         - Returns: Result of the write by returning the URL and self upon success.
32 |      */
33 |     public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
   |                                                               `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 |         return Result {
35 |             try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[35/45] Compiling GemCommonsKit Data+IO.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 |         - Returns: Result of the write by returning the URL and self upon success.
32 |      */
33 |     public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
   |                                                               `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 |         return Result {
35 |             try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/45] Emitting module GemCommonsKit
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 |         - Returns: Result of the write by returning the URL and self upon success.
32 |      */
33 |     public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
   |                                                               `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 |         return Result {
35 |             try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[37/45] Compiling DataKit Base64.swift
[38/45] Compiling DataKit Array+Data.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/38] Compiling Commandant Result+Additions.swift
[3/39] Compiling DataKit Data+ASCIIString.swift
[4/39] Compiling DataKit Data+UTF8String.swift
[5/39] Emitting module DataKit
[6/39] Compiling GemCommonsKit CommonError.swift
[7/39] Compiling GemCommonsKit DLog.swift
[8/40] Compiling GemCommonsKit Synchronized.swift
[9/40] Compiling GemCommonsKit SynchronizedVar.swift
[10/40] Compiling GemCommonsKit WeakArray.swift
[11/40] Compiling GemCommonsKit Data+empty.swift
[12/40] Compiling GemCommonsKit String+Digits.swift
[13/40] Compiling Commandant Switch.swift
[14/40] Compiling GemCommonsKit Array+Data.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 |         - Returns: Result of the write by returning the URL and self upon success.
32 |      */
33 |     public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
   |                                                               `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 |         return Result {
35 |             try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[15/40] Compiling GemCommonsKit Data+IO.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 |         - Returns: Result of the write by returning the URL and self upon success.
32 |      */
33 |     public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
   |                                                               `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 |         return Result {
35 |             try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[16/40] Compiling GemCommonsKit Thread+Internal.swift
[17/40] Compiling GemCommonsKit ResourceLoader.swift
[18/40] Compiling Commandant OrderedSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/40] Emitting module GemCommonsKit
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 |         - Returns: Result of the write by returning the URL and self upon success.
32 |      */
33 |     public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
   |                                                               `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 |         return Result {
35 |             try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[20/40] Compiling GemCommonsKit AnyWrapper.swift
[21/40] Compiling GemCommonsKit BlockingVar.swift
[22/40] Compiling Commandant Option.swift
[23/40] Compiling DataKit Data+HexString.swift
[24/40] Compiling Commandant HelpCommand.swift
[25/40] Compiling Commandant Errors.swift
[28/40] Compiling GemCommonsKit WeakRef.swift
[29/40] Compiling DataKit Array+Data.swift
BUILD FAILURE 6.1 linux