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 Citadel, reference main (43a066), with Swift 6.1 for Wasm on 2 Sep 2025 07:09:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/Citadel.git
Reference: main
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/orlandos-nl/Citadel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 43a0664 Improve test matrix
Cloned https://github.com/orlandos-nl/Citadel.git
Revision (git rev-parse @):
43a0664e763daf8765e13e289b7e7deffdc2e9b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/Citadel.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orlandos-nl/Citadel.git
https://github.com/orlandos-nl/Citadel.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio-ssh",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.4",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Joannis/swift-nio-ssh.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.12.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "colorizeswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mtynior/ColorizeSwift.git"
    }
  ],
  "manifest_display_name" : "Citadel",
  "name" : "Citadel",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Citadel",
      "targets" : [
        "Citadel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CitadelServerExample",
      "targets" : [
        "CitadelServerExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CitadelTests",
      "module_type" : "SwiftTarget",
      "name" : "CitadelTests",
      "path" : "Tests/CitadelTests",
      "product_dependencies" : [
        "NIOSSH",
        "BigInt",
        "Logging"
      ],
      "sources" : [
        "Citadel2Tests.swift",
        "EndToEndTests.swift",
        "KeyTests.swift"
      ],
      "target_dependencies" : [
        "Citadel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CitadelServerExample",
      "module_type" : "SwiftTarget",
      "name" : "CitadelServerExample",
      "path" : "Sources/CitadelServerExample",
      "product_dependencies" : [
        "ColorizeSwift"
      ],
      "product_memberships" : [
        "CitadelServerExample"
      ],
      "sources" : [
        "EchoShell/BasicCommands.swift",
        "EchoShell/EchoShell.swift",
        "EchoShell/Extensions.swift",
        "EchoShell/Terminal.swift",
        "HostKeyFile.swift",
        "Server.swift"
      ],
      "target_dependencies" : [
        "Citadel"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Citadel",
      "module_type" : "SwiftTarget",
      "name" : "Citadel",
      "path" : "Sources/Citadel",
      "product_dependencies" : [
        "NIOSSH",
        "Crypto",
        "_CryptoExtras",
        "BigInt",
        "Logging"
      ],
      "product_memberships" : [
        "Citadel",
        "CitadelServerExample"
      ],
      "sources" : [
        "Algorithms/AES.swift",
        "Algorithms/DH-Helpers.swift",
        "Algorithms/DiffieHellmanGroup14Sha1.swift",
        "Algorithms/DiffieHellmanGroup14Sha256.swift",
        "Algorithms/RSA.swift",
        "BCrypt.swift",
        "ByteBufferHelpers.swift",
        "ChannelUnwrapper.swift",
        "Client.swift",
        "ClientSession.swift",
        "DirectTCPIP/Client/DirectTCPIP+Client.swift",
        "DirectTCPIP/Server/DirectTCPIP+Server.swift",
        "Errors.swift",
        "Exec/Client/ExecClient.swift",
        "Exec/Server/ExecDelegate.swift",
        "Exec/Server/ExecHandler.swift",
        "NIOGlueHandler.swift",
        "OpenSSHKey.swift",
        "SFTP/Client/SFTPClient.swift",
        "SFTP/Client/SFTPClientInboundHandler.swift",
        "SFTP/Client/SFTPFile.swift",
        "SFTP/SFTPBasicEnums.swift",
        "SFTP/SFTPFileFlags.swift",
        "SFTP/SFTPMessage.swift",
        "SFTP/SFTPMessageParser.swift",
        "SFTP/SFTPSerializer.swift",
        "SFTP/Server/SFTPServer.swift",
        "SFTP/Server/SFTPServerInboundHandler.swift",
        "SSHAuthenticationMethod.swift",
        "SSHCert.swift",
        "SSHConnectionPoolSettings.swift",
        "SSHKeyTypeDetection.swift",
        "Server.swift",
        "Shell/Server/ShellDelegate.swift",
        "TTY/Client/TTY.swift"
      ],
      "target_dependencies" : [
        "CCitadelBcrypt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CCitadelBcrypt",
      "module_type" : "ClangTarget",
      "name" : "CCitadelBcrypt",
      "path" : "Sources/CCitadelBcrypt",
      "product_memberships" : [
        "Citadel",
        "CitadelServerExample"
      ],
      "sources" : [
        "bcrypt-kdf.c",
        "bcrypt.c",
        "blf.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/Joannis/swift-nio-ssh.git
[1/291] Fetching colorizeswift
[292/5117] Fetching colorizeswift, bigint
[630/7951] Fetching colorizeswift, bigint, swift-nio-ssh
[1243/11854] Fetching colorizeswift, bigint, swift-nio-ssh, swift-log
[10890/28228] Fetching colorizeswift, bigint, swift-nio-ssh, swift-log, swift-crypto
Fetched https://github.com/Joannis/swift-nio-ssh.git from cache (0.39s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (0.40s)
[8739/25103] Fetching bigint, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.81s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.81s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.84s)
Computing version for https://github.com/Joannis/swift-nio-ssh.git
Computed https://github.com/Joannis/swift-nio-ssh.git at 0.3.4 (2.41s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
[1815/79768] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (7.94s)
Fetched https://github.com/apple/swift-nio.git from cache (8.09s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (11.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.29s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4941] Fetching swift-system
[4695/22335] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
[3131/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (2.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (3.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (2.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.71s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.99s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.55s)
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/Joannis/swift-nio-ssh.git
Working copy of https://github.com/Joannis/swift-nio-ssh.git resolved at 0.3.4
Building for debugging...
[0/419] Write sources
[7/419] Compiling aesv8-gcm-armv8-win.S
[8/419] Write sources
[10/419] Compiling _AtomicsShims.c
[11/419] Write sources
[19/419] Compiling CNIOWindows shim.c
[20/419] Compiling CNIOWindows WSAStartup.c
[21/419] Write swift-version-24593BA9C3E375BF.txt
[22/419] Compiling CNIOWASI CNIOWASI.c
[23/419] Compiling CCitadelBcrypt bcrypt.c
/host/spi-builder-workspace/Sources/CCitadelBcrypt/bcrypt-kdf.c:44:9: warning: 'BCRYPT_WORDS' macro redefined [-Wmacro-redefined]
   44 | #define BCRYPT_WORDS 8
      |         ^
/host/spi-builder-workspace/Sources/CCitadelBcrypt/bcrypt.h:31:9: note: previous definition is here
   31 | #define BCRYPT_WORDS 6        /* Ciphertext words */
      |         ^
1 warning generated.
[24/419] Compiling CCitadelBcrypt bcrypt-kdf.c
[25/419] Compiling CNIOLinux shim.c
[26/419] Compiling CCitadelBcrypt blf.c
[27/461] Compiling x_spki.cc
[28/461] Compiling by_dir.cc
[29/484] Compiling by_file.cc
[30/484] Compiling CNIOLinux liburing_shims.c
[31/484] Compiling CNIODarwin shim.c
[33/484] Emitting module _NIODataStructures
[34/484] Emitting module BigInt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/486] Emitting module ColorizeSwift
/host/spi-builder-workspace/.build/checkouts/ColorizeSwift/Sources/ColorizeSwift/ColorizeSwift.swift:536:25: error: cannot find 'DispatchQueue' in scope
534 |     internal static let shared = StringColorizationManager()
535 |
536 |     private let queue = DispatchQueue(label: "com.github.mtynior.ColorizeSwift.StringColorizationManager")
    |                         `- error: cannot find 'DispatchQueue' in scope
537 |     private var _isColorizationEnabled = true
538 |
[36/486] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[37/487] Compiling BigInt Division.swift
[38/487] Compiling BigInt Exponentiation.swift
[39/487] Emitting module _NIOBase64
[40/487] Compiling _NIOBase64 Base64.swift
[41/487] Compiling BigInt Strideable.swift
[42/487] Compiling BigInt String Conversion.swift
[43/488] Compiling BigInt GCD.swift
[44/488] Compiling BigInt Hashable.swift
[47/488] Compiling BigInt Data Conversion.swift
[50/488] Compiling BigInt BigUInt.swift
[51/488] Compiling BigInt Floating Point Conversion.swift
[52/488] Compiling BigInt Addition.swift
[53/488] Compiling BigInt BigInt.swift
[54/490] Compiling BigInt Random.swift
[55/490] Compiling SwiftASN1 DER.swift
[56/490] Compiling SwiftASN1 Errors.swift
[61/490] Compiling BigInt Integer Conversion.swift
[62/490] Compiling BigInt Multiplication.swift
[63/490] Compiling BigInt Prime Test.swift
[65/490] Compiling _NIODataStructures PriorityQueue.swift
[66/490] Compiling _NIODataStructures _TinyArray.swift
[67/490] Compiling BigInt Bitwise Ops.swift
[68/490] Compiling BigInt Codable.swift
[69/490] Emitting module InternalCollectionsUtilities
[70/490] Compiling BigInt Comparable.swift
[72/490] Compiling Logging Locks.swift
[76/490] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[78/491] Compiling Logging MetadataProvider.swift
[79/491] Compiling _NIODataStructures Heap.swift
[80/492] Emitting module SwiftASN1
[81/492] Compiling Logging LogHandler.swift
[82/492] Emitting module Logging
[83/492] Compiling Logging Logging.swift
[87/493] Wrapping AST for _NIOBase64 for debugging
[93/494] Compiling BigInt Subtraction.swift
[94/494] Compiling BigInt Words and Bits.swift
[94/494] Wrapping AST for Logging for debugging
[95/494] Wrapping AST for InternalCollectionsUtilities for debugging
[98/495] Compiling ColorizeSwift ColorizeSwift.swift
/host/spi-builder-workspace/.build/checkouts/ColorizeSwift/Sources/ColorizeSwift/ColorizeSwift.swift:536:25: error: cannot find 'DispatchQueue' in scope
534 |     internal static let shared = StringColorizationManager()
535 |
536 |     private let queue = DispatchQueue(label: "com.github.mtynior.ColorizeSwift.StringColorizationManager")
    |                         `- error: cannot find 'DispatchQueue' in scope
537 |     private var _isColorizationEnabled = true
538 |
[98/507] Compiling CCryptoBoringSSLShims shims.c
[99/507] Compiling DequeModule Deque+CustomReflectable.swift
[100/507] Compiling DequeModule Deque+Descriptions.swift
[101/507] Compiling DequeModule Deque+Codable.swift
[102/507] Compiling DequeModule Deque+Extras.swift
[103/507] Compiling DequeModule Deque+Hashable.swift
[104/507] Compiling DequeModule Deque+Testing.swift
[104/507] Compiling c-nioatomics.c
[104/507] Compiling c-atomics.c
[104/507] Wrapping AST for _NIODataStructures for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/388] Compiling fiat_p256_adx_sqr.S
[1/388] Compiling fiat_curve25519_adx_square.S
[1/388] Compiling fiat_curve25519_adx_mul.S
[3/388] Compiling fiat_p256_adx_mul.S
[4/388] Compiling md5-x86_64-linux.S
[5/388] Compiling md5-x86_64-apple.S
[6/388] Compiling md5-586-linux.S
[7/388] Compiling md5-586-apple.S
[8/388] Compiling chacha20_poly1305_x86_64-linux.S
[9/388] Compiling chacha20_poly1305_x86_64-apple.S
[10/388] Compiling chacha20_poly1305_armv8-win.S
[11/388] Compiling chacha20_poly1305_armv8-linux.S
[12/388] Compiling chacha20_poly1305_armv8-apple.S
[13/388] Compiling chacha-x86_64-linux.S
[14/388] Compiling chacha-x86_64-apple.S
[15/388] Compiling chacha-x86-linux.S
[16/388] Compiling chacha-x86-apple.S
[16/388] Compiling chacha-armv8-win.S
[18/388] Compiling chacha-armv8-linux.S
[19/388] Compiling chacha-armv4-linux.S
[20/388] Write swift-version-24593BA9C3E375BF.txt
[21/388] Compiling chacha-armv8-apple.S
[22/388] Compiling aes128gcmsiv-x86_64-apple.S
[23/388] Compiling aes128gcmsiv-x86_64-linux.S
[24/388] Compiling x86_64-mont5-linux.S
[25/388] Compiling CCryptoBoringSSLShims shims.c
[26/430] Compiling err_data.cc
[28/430] Compiling Logging MetadataProvider.swift
[29/430] Compiling Logging Locks.swift
[30/430] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/433] Emitting module Logging
[32/433] Emitting module _NIODataStructures
[33/433] Emitting module _NIOBase64
[34/433] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[35/433] Compiling InternalCollectionsUtilities Debugging.swift
[36/433] Compiling InternalCollectionsUtilities Descriptions.swift
[37/433] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/433] Emitting module ColorizeSwift
/host/spi-builder-workspace/.build/checkouts/ColorizeSwift/Sources/ColorizeSwift/ColorizeSwift.swift:536:25: error: cannot find 'DispatchQueue' in scope
534 |     internal static let shared = StringColorizationManager()
535 |
536 |     private let queue = DispatchQueue(label: "com.github.mtynior.ColorizeSwift.StringColorizationManager")
    |                         `- error: cannot find 'DispatchQueue' in scope
537 |     private var _isColorizationEnabled = true
538 |
[39/433] Compiling ColorizeSwift ColorizeSwift.swift
/host/spi-builder-workspace/.build/checkouts/ColorizeSwift/Sources/ColorizeSwift/ColorizeSwift.swift:536:25: error: cannot find 'DispatchQueue' in scope
534 |     internal static let shared = StringColorizationManager()
535 |
536 |     private let queue = DispatchQueue(label: "com.github.mtynior.ColorizeSwift.StringColorizationManager")
    |                         `- error: cannot find 'DispatchQueue' in scope
537 |     private var _isColorizationEnabled = true
538 |
[40/433] Emitting module InternalCollectionsUtilities
[43/433] Compiling _NIODataStructures PriorityQueue.swift
[44/433] Compiling _NIODataStructures _TinyArray.swift
[45/435] Compiling _NIOBase64 Base64.swift
[46/436] Compiling Logging LogHandler.swift
[47/436] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[48/436] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[49/436] Compiling InternalCollectionsUtilities UInt+reversed.swift
[50/436] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[51/436] Compiling InternalCollectionsUtilities Integer rank.swift
[51/436] Compiling c-atomics.c
[51/436] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm