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 PerfectZip, reference 3.0.3 (c2daba), with Swift 6.1 for Wasm on 27 May 2025 12:33:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/perfectlysoft/perfect-zip.git
Reference: 3.0.3
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/perfectlysoft/perfect-zip
 * tag               3.0.3      -> FETCH_HEAD
HEAD is now at c2dabad Merge pull request #4 from florianreinhart/master
Cloned https://github.com/perfectlysoft/perfect-zip.git
Revision (git rev-parse @):
c2dabad5a8f7e1eadaa5682bb5794b21d015ae2d
SUCCESS checkout https://github.com/perfectlysoft/perfect-zip.git at 3.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-zip.git
https://github.com/perfectlysoft/perfect-zip.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "perfectlib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PerfectlySoft/PerfectLib.git"
    },
    {
      "identity" : "perfect-czlib-src",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PerfectlySoft/Perfect-CZlib-src.git"
    }
  ],
  "manifest_display_name" : "PerfectZip",
  "name" : "PerfectZip",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PerfectZip",
      "targets" : [
        "PerfectZip",
        "minizip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "minizip",
      "module_type" : "ClangTarget",
      "name" : "minizip",
      "path" : "Sources/minizip",
      "product_dependencies" : [
        "PerfectCZlib"
      ],
      "product_memberships" : [
        "PerfectZip"
      ],
      "sources" : [
        "aes/aescrypt.c",
        "aes/aeskey.c",
        "aes/aestab.c",
        "aes/entropy.c",
        "aes/fileenc.c",
        "aes/hmac.c",
        "aes/prng.c",
        "aes/pwd2key.c",
        "aes/sha1.c",
        "ioapi.c",
        "unzip.c",
        "zip.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerfectZipTests",
      "module_type" : "SwiftTarget",
      "name" : "PerfectZipTests",
      "path" : "Tests/PerfectZipTests",
      "sources" : [
        "PerfectZipTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PerfectZip"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PerfectZip",
      "module_type" : "SwiftTarget",
      "name" : "PerfectZip",
      "path" : "Sources/PerfectZip",
      "product_dependencies" : [
        "PerfectLib"
      ],
      "product_memberships" : [
        "PerfectZip"
      ],
      "sources" : [
        "Utilities.swift",
        "Zip.swift"
      ],
      "target_dependencies" : [
        "minizip"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/337] Fetching perfect-czlib-src
[338/11121] Fetching perfect-czlib-src, perfectlib
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (0.32s)
[1402/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (3.83s)
Computing version for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Computed https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4 (5.81s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (1.07s)
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
[1/65] Fetching perfect-linuxbridge
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git from cache (0.52s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (1.43s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Working copy of https://github.com/PerfectlySoft/Perfect-LinuxBridge.git resolved at 3.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Working copy of https://github.com/PerfectlySoft/Perfect-CZlib-src.git resolved at 0.0.4
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Building for debugging...
[0/16] Compiling pwd2key.c
[1/16] Compiling minizip ioapi.c
[2/16] Compiling minizip zip.c
[3/16] Compiling prng.c
[4/16] Compiling hmac.c
[5/16] Compiling fileenc.c
[6/16] Write sources
[8/16] Compiling minizip unzip.c
[9/16] Compiling entropy.c
In file included from /host/spi-builder-workspace/.build/checkouts/Perfect-LinuxBridge/Sources/LinuxBridge/LinuxBridge.c:2:
/host/spi-builder-workspace/.build/checkouts/Perfect-LinuxBridge/Sources/LinuxBridge/include/LinuxBridge.h:6:10: fatal error: 'uuid/uuid.h' file not found
    6 | #include <uuid/uuid.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[10/16] Compiling LinuxBridge LinuxBridge.c
[10/16] Compiling aeskey.c
[10/16] Compiling sha1.c
[10/16] Compiling aestab.c
[10/16] Compiling aescrypt.c
[10/16] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/Perfect-LinuxBridge/Sources/LinuxBridge/LinuxBridge.c:2:
/host/spi-builder-workspace/.build/checkouts/Perfect-LinuxBridge/Sources/LinuxBridge/include/LinuxBridge.h:6:10: fatal error: 'uuid/uuid.h' file not found
    6 | #include <uuid/uuid.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[0/6] Compiling LinuxBridge LinuxBridge.c
[0/6] Compiling aeskey.c
[0/6] Compiling sha1.c
[0/6] Compiling aescrypt.c
[0/6] Compiling aestab.c
[0/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm