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

Failed to build NiftyRSA, reference master (8e079c), with Swift 6.1 for Linux on 25 Apr 2025 21:34:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/unibas-medfak/NiftyRSA.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/unibas-medfak/NiftyRSA
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8e079c6 Run swift-format
Cloned https://github.com/unibas-medfak/NiftyRSA.git
Revision (git rev-parse @):
8e079c6422a880cb9abb7cd933da4f78d4e45b4f
SUCCESS checkout https://github.com/unibas-medfak/NiftyRSA.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/unibas-medfak/NiftyRSA.git
https://github.com/unibas-medfak/NiftyRSA.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "NiftyRSA",
  "name" : "NiftyRSA",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "NiftyRSA",
      "targets" : [
        "NiftyRSA"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NiftyRSATests",
      "module_type" : "SwiftTarget",
      "name" : "NiftyRSATests",
      "path" : "Tests/NiftyRSATests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/base64-X509-public-key.sh",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/base64-X509-public-key.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/multiple-keys-testcase.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/multiple-keys-testcase.sh",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-private-header-octetstring.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-private-headerless.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-private.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-private.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-public-base64-X509-format.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-public-base64-newlines.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-public-base64.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-public-headerless.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-public.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NiftyRSATests/Resources/niftyrsa-public.pem",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "EncryptDecryptTests.swift",
        "KeyTests.swift",
        "MessageTests.swift",
        "NiftyRSAErrorTests.swift",
        "SignatureTests.swift",
        "TestUtils.swift",
        "X509Tests.swift"
      ],
      "target_dependencies" : [
        "NiftyRSA"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NiftyRSA",
      "module_type" : "SwiftTarget",
      "name" : "NiftyRSA",
      "path" : "Sources/NiftyRSA",
      "product_memberships" : [
        "NiftyRSA"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/NiftyRSA/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Asn1Parser.swift",
        "ClearMessage.swift",
        "Data+SHA.swift",
        "EncryptedMessage.swift",
        "Key.swift",
        "Message.swift",
        "NiftyRSA.swift",
        "NiftyRSAError.swift",
        "NiftyRSAPrivateKey.swift",
        "NiftyRSAPublicKey.swift",
        "Signature.swift",
        "X509Certificate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.28s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.34s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Copying PrivacyInfo.xcprivacy
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling NiftyRSA X509Certificate.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/19] Emitting module NiftyRSA
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[8/19] Compiling NiftyRSA resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[9/19] Compiling NiftyRSA Signature.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[10/19] Compiling NiftyRSA NiftyRSAPrivateKey.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[11/19] Compiling NiftyRSA NiftyRSAPublicKey.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[12/19] Compiling NiftyRSA Key.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[13/19] Compiling NiftyRSA Message.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[14/19] Compiling NiftyRSA Data+SHA.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[15/19] Compiling NiftyRSA EncryptedMessage.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[16/19] Compiling NiftyRSA NiftyRSA.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[17/19] Compiling NiftyRSA NiftyRSAError.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[18/19] Compiling NiftyRSA Asn1Parser.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[19/19] Compiling NiftyRSA ClearMessage.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling NiftyRSA Signature.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[5/17] Compiling NiftyRSA X509Certificate.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[6/17] Compiling NiftyRSA NiftyRSA.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[7/17] Compiling NiftyRSA NiftyRSAError.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[8/17] Compiling NiftyRSA NiftyRSAPrivateKey.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[9/17] Compiling NiftyRSA NiftyRSAPublicKey.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[10/17] Compiling NiftyRSA Key.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[11/17] Compiling NiftyRSA Message.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[12/17] Compiling NiftyRSA Data+SHA.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[13/17] Compiling NiftyRSA EncryptedMessage.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[14/17] Compiling NiftyRSA resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/17] Emitting module NiftyRSA
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[16/17] Compiling NiftyRSA Asn1Parser.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
[17/17] Compiling NiftyRSA ClearMessage.swift
/host/spi-builder-workspace/Sources/NiftyRSA/Data+SHA.swift:8:8: error: no such module 'CommonCrypto'
 6 | //
 7 |
 8 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 9 | import Foundation
10 |
BUILD FAILURE 6.1 linux