The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Digest, reference 1.13.0 (95ba89), with Swift 6.1 for Wasm on 30 May 2025 17:37:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/leif-ibsen/Digest.git
Reference: 1.13.0
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/leif-ibsen/Digest
 * tag               1.13.0     -> FETCH_HEAD
HEAD is now at 95ba89b Release 1.13.0
Cloned https://github.com/leif-ibsen/Digest.git
Revision (git rev-parse @):
95ba89b494aaff5f3cd2933c03b9a890323dbf2c
SUCCESS checkout https://github.com/leif-ibsen/Digest.git at 1.13.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/leif-ibsen/Digest.git
https://github.com/leif-ibsen/Digest.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Digest",
  "name" : "Digest",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Digest",
      "targets" : [
        "Digest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DigestTests",
      "module_type" : "SwiftTarget",
      "name" : "DigestTests",
      "path" : "Tests/DigestTests",
      "sources" : [
        "BLAKETest.swift",
        "Base64Test.swift",
        "HKDFTest.swift",
        "HMACTest.swift",
        "Hex2BytesTest.swift",
        "MGF1Test.swift",
        "SHA1Test.swift",
        "SHA2Test.swift",
        "SHA3Test.swift",
        "SHAKETest.swift",
        "Util.swift",
        "XOFTest.swift"
      ],
      "target_dependencies" : [
        "Digest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Digest",
      "module_type" : "SwiftTarget",
      "name" : "Digest",
      "path" : "Sources/Digest",
      "product_memberships" : [
        "Digest"
      ],
      "sources" : [
        "BLAKE.swift",
        "Base64.swift",
        "HMAC.swift",
        "KDF.swift",
        "MD.swift",
        "SHA1.swift",
        "SHA2.swift",
        "SHA3.swift",
        "SHAKE.swift",
        "XOF.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/12] Compiling Digest SHAKE.swift
[4/13] Compiling Digest SHA1.swift
[5/13] Compiling Digest SHA3.swift
[6/13] Compiling Digest MD.swift
[7/13] Compiling Digest SHA2.swift
[8/13] Compiling Digest HMAC.swift
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:32: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:60: error: integer literal '4294967295' overflows when stored into 'Int'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                                            `- error: integer literal '4294967295' overflows when stored into 'Int'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
[9/13] Compiling Digest KDF.swift
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:32: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:60: error: integer literal '4294967295' overflows when stored into 'Int'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                                            `- error: integer literal '4294967295' overflows when stored into 'Int'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
[10/13] Compiling Digest XOF.swift
[11/13] Emitting module Digest
[12/13] Compiling Digest BLAKE.swift
[13/13] Compiling Digest Base64.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[2/11] Compiling Digest SHAKE.swift
[3/12] Compiling Digest XOF.swift
[4/12] Compiling Digest MD.swift
[5/12] Compiling Digest HMAC.swift
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:32: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:60: error: integer literal '4294967295' overflows when stored into 'Int'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                                            `- error: integer literal '4294967295' overflows when stored into 'Int'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
[6/12] Compiling Digest KDF.swift
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:32: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/Sources/Digest/KDF.swift:59:60: error: integer literal '4294967295' overflows when stored into 'Int'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                                            `- error: integer literal '4294967295' overflows when stored into 'Int'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
[7/12] Compiling Digest SHA3.swift
[8/12] Compiling Digest SHA1.swift
[9/12] Compiling Digest SHA2.swift
[10/12] Emitting module Digest
[11/12] Compiling Digest BLAKE.swift
[12/12] Compiling Digest Base64.swift
BUILD FAILURE 6.1 wasm