The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftKeyExchange, reference v0.0.2 (55a06c), with Swift 6.1 for Wasm on 29 May 2025 06:04:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/calmdocs/SwiftKeyExchange.git
Reference: v0.0.2
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/calmdocs/SwiftKeyExchange
 * tag               v0.0.2     -> FETCH_HEAD
HEAD is now at 55a06c0 fix: Make model variables public
Cloned https://github.com/calmdocs/SwiftKeyExchange.git
Revision (git rev-parse @):
55a06c0b47c12b40412e722fffe83e120525569b
SUCCESS checkout https://github.com/calmdocs/SwiftKeyExchange.git at v0.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/calmdocs/SwiftKeyExchange.git
https://github.com/calmdocs/SwiftKeyExchange.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftKeyExchange",
  "name" : "SwiftKeyExchange",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftKeyExchange",
      "targets" : [
        "SwiftKeyExchange"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKeyExchangeTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKeyExchangeTests",
      "path" : "Tests/SwiftKeyExchangeTests",
      "sources" : [
        "SwiftKeyExchangeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftKeyExchange"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKeyExchange",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKeyExchange",
      "path" : "Sources/SwiftKeyExchange",
      "product_memberships" : [
        "SwiftKeyExchange"
      ],
      "sources" : [
        "AEAD.swift",
        "AESGCM.swift",
        "ChaChaPoly.swift",
        "Curve.swift",
        "Curve25519.swift",
        "KeyExchangeStore.swift",
        "Models.swift",
        "P256.swift",
        "P384.swift",
        "P521.swift",
        "PEM.swift",
        "RandomData.swift",
        "SharedSecret.swift",
        "SymmetricKey.swift",
        "Timestamp.swift",
        "URLSessionWebSocketTask.Message.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling SwiftKeyExchange SharedSecret.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[4/17] Compiling SwiftKeyExchange SymmetricKey.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[5/17] Compiling SwiftKeyExchange PEM.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[6/17] Compiling SwiftKeyExchange RandomData.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[7/19] Compiling SwiftKeyExchange Models.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[8/19] Compiling SwiftKeyExchange P256.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[9/19] Compiling SwiftKeyExchange Curve25519.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[10/19] Compiling SwiftKeyExchange KeyExchangeStore.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[11/19] Compiling SwiftKeyExchange P384.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[12/19] Compiling SwiftKeyExchange P521.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Compiling SwiftKeyExchange ChaChaPoly.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[14/19] Compiling SwiftKeyExchange Curve.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[15/19] Emitting module SwiftKeyExchange
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[16/19] Compiling SwiftKeyExchange AEAD.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[17/19] Compiling SwiftKeyExchange AESGCM.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[18/19] Compiling SwiftKeyExchange Timestamp.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[19/19] Compiling SwiftKeyExchange URLSessionWebSocketTask.Message.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/16] Emitting module SwiftKeyExchange
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[3/16] Compiling SwiftKeyExchange AEAD.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[4/16] Compiling SwiftKeyExchange AESGCM.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[5/18] Compiling SwiftKeyExchange P384.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[6/18] Compiling SwiftKeyExchange P521.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[7/18] Compiling SwiftKeyExchange SharedSecret.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[8/18] Compiling SwiftKeyExchange SymmetricKey.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[9/18] Compiling SwiftKeyExchange PEM.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[10/18] Compiling SwiftKeyExchange RandomData.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[11/18] Compiling SwiftKeyExchange Models.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[12/18] Compiling SwiftKeyExchange P256.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[13/18] Compiling SwiftKeyExchange Curve25519.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[14/18] Compiling SwiftKeyExchange KeyExchangeStore.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[15/18] Compiling SwiftKeyExchange ChaChaPoly.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[16/18] Compiling SwiftKeyExchange Curve.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[17/18] Compiling SwiftKeyExchange Timestamp.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
[18/18] Compiling SwiftKeyExchange URLSessionWebSocketTask.Message.swift
/host/spi-builder-workspace/Sources/SwiftKeyExchange/AEAD.swift:9:8: error: no such module 'CryptoKit'
  7 |
  8 | import Foundation
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 |
 11 | /// Random nonce for the provided type of authenticated encryption with associated data (AEAD).
BUILD FAILURE 6.1 wasm