The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CryptorECC, reference master (e5faf7), with Swift 6.1 for Wasm on 28 May 2025 10:08:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Kitura/BlueECC.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/Kitura/BlueECC
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e5faf7c Update to use SecKeyCreateRandomKey to generate key pairs (#36)
Cloned https://github.com/Kitura/BlueECC.git
Revision (git rev-parse @):
e5faf7ce81c762ed8e266e35ad6c00cc5bfccf52
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kitura/BlueECC.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/BlueECC.git
https://github.com/Kitura/BlueECC.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "openssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/OpenSSL.git"
    }
  ],
  "manifest_display_name" : "CryptorECC",
  "name" : "CryptorECC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CryptorECC",
      "targets" : [
        "CryptorECC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CryptorECCTests",
      "module_type" : "SwiftTarget",
      "name" : "CryptorECCTests",
      "path" : "Tests/CryptorECCTests",
      "sources" : [
        "CryptorECCTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CryptorECC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CryptorECC",
      "module_type" : "SwiftTarget",
      "name" : "CryptorECC",
      "path" : "Sources/CryptorECC",
      "product_dependencies" : [
        "OpenSSL"
      ],
      "product_memberships" : [
        "CryptorECC"
      ],
      "sources" : [
        "ASN1.swift",
        "Data+Extensions.swift",
        "ECDecryptable.swift",
        "ECEncryptable.swift",
        "ECError.swift",
        "ECPrivateKey.swift",
        "ECPublicKey.swift",
        "ECSignable.swift",
        "ECSignature.swift",
        "EllipticCurve.swift",
        "SSLPointerTricks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -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
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/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.19s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.88s)
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module CryptorECC
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[4/13] Compiling CryptorECC ASN1.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[5/13] Compiling CryptorECC Data+Extensions.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[6/14] Compiling CryptorECC EllipticCurve.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[7/14] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[8/14] Compiling CryptorECC SSLPointerTricks.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[9/14] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[10/14] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[11/14] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[12/14] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[13/14] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[14/14] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[3/13] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[4/13] Compiling CryptorECC EllipticCurve.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/13] Emitting module CryptorECC
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[6/13] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[7/13] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[8/13] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[9/13] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[10/13] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[11/13] Compiling CryptorECC ASN1.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[12/13] Compiling CryptorECC Data+Extensions.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
[13/13] Compiling CryptorECC SSLPointerTricks.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:21:8: error: no such module 'CommonCrypto'
 19 | import OpenSSL
 20 | #else
 21 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 22 | #endif
 23 |
BUILD FAILURE 6.1 wasm