The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NiftyRSA, reference 1.0.5 (8e079c), with Swift 6.1 for Wasm on 30 May 2025 22:20:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unibas-medfak/NiftyRSA.git
Reference: 1.0.5
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
 * tag               1.0.5      -> FETCH_HEAD
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 1.0.5
========================================
Build
========================================
Selected platform:         wasm
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.45s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.92s)
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] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] 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/18] 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/18] 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/18] 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/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 |
[11/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 |
[12/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 |
[13/19] 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)
[14/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 |
[15/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 |
[16/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 |
[17/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 |
[18/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 |
[19/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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/16] 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)
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
[16/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 |
[17/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 |
BUILD FAILURE 6.1 wasm