The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Serialization, reference main (919687), with Swift 6.1 for Wasm on 18 Dec 2025 17:23:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AppliedRecognition/Ver-ID-3-Serialization-Apple.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/AppliedRecognition/Ver-ID-3-Serialization-Apple
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9196879 Merge branch 'development'
Submodule path 'Proto': checked out 'd1aee03a3e5c7d0a028d1c2303277df277a77817'
Submodule 'Proto' (https://github.com/AppliedRecognition/Ver-ID-3-Proto.git) registered for path 'Proto'
Cloning into '/host/spi-builder-workspace/Proto'...
Cloned https://github.com/AppliedRecognition/Ver-ID-3-Serialization-Apple.git
Revision (git rev-parse @):
9196879adffc9cdfd3372af12319b7bb73f04e9a
SUCCESS checkout https://github.com/AppliedRecognition/Ver-ID-3-Serialization-Apple.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AppliedRecognition/Ver-ID-3-Serialization-Apple.git
https://github.com/AppliedRecognition/Ver-ID-3-Serialization-Apple.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jxl-coder-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/awxkee/jxl-coder-swift.git"
    },
    {
      "identity" : "ver-id-common-types-apple",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.28.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    }
  ],
  "manifest_display_name" : "Serialization",
  "name" : "Serialization",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Serialization",
      "targets" : [
        "Serialization"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SerializationTests",
      "module_type" : "SwiftTarget",
      "name" : "SerializationTests",
      "path" : "Tests/SerializationTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SerializationTests/Resources/image.bin",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "FloatArrayCodecTest.swift",
        "SerializationTests.swift"
      ],
      "target_dependencies" : [
        "Serialization"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Serialization",
      "module_type" : "SwiftTarget",
      "name" : "Serialization",
      "path" : "Sources/Serialization",
      "product_dependencies" : [
        "VerIDCommonTypes",
        "JxlCoder",
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "Serialization"
      ],
      "sources" : [
        "FloatArrayCodec.swift",
        "FloatArrayCodecError.swift",
        "ImagePackage.swift",
        "Serialization.swift",
        "com/appliedrec/verid3/serialization/capture3d/depth_map.pb.swift",
        "com/appliedrec/verid3/serialization/capture3d/image_3d.pb.swift",
        "com/appliedrec/verid3/serialization/capture3d/image_face_package.pb.swift",
        "com/appliedrec/verid3/serialization/common/face.pb.swift",
        "com/appliedrec/verid3/serialization/common/pointf.pb.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Fetching https://github.com/awxkee/jxl-coder-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/1250] Fetching ver-id-common-types-apple
[1251/2381] Fetching ver-id-common-types-apple, jxl-coder-swift
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (0.41s)
[543/1131] Fetching jxl-coder-swift
Fetched https://github.com/awxkee/jxl-coder-swift.git from cache (1.44s)
[1/41537] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.77s)
Computing version for https://github.com/awxkee/jxl-coder-swift.git
Computed https://github.com/awxkee/jxl-coder-swift.git at 1.8.0 (11.09s)
Computing version for https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Computed https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git at 3.3.0 (0.72s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.69s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Working copy of https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git resolved at 3.3.0
Creating working copy for https://github.com/awxkee/jxl-coder-swift.git
Working copy of https://github.com/awxkee/jxl-coder-swift.git resolved at 1.8.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/23] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/algo/sleef-inl.cpp:9:
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/algo/sleef-inl.h:23:10: fatal error: 'hwy/highway.h' file not found
   23 | #include "hwy/highway.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
[4/23] Compiling sleef-inl.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JxlAnimatedEncoder.cpp:26:
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JxlAnimatedEncoder.hpp:32:10: fatal error: 'jxl/encode.h' file not found
   32 | #include <jxl/encode.h>
      |          ^~~~~~~~~~~~~~
[4/23] Compiling jxlc JxlAnimatedEncoder.cpp
[4/23] Compiling jxlc JPEGLIEncoder.cpp
[4/23] Compiling jxlc JxlAnimatedDecoder.cpp
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JXLSystemImage.mm:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/23] Compiling jxlc JXLSystemImage.mm
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JxlConstruction.mm:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/23] Compiling jxlc JxlConstruction.mm
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/CJpegXLAnimatedEncoder.mm:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/23] Compiling jxlc CJpegXLAnimatedEncoder.mm
[4/23] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/20] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/algo/sleef-inl.cpp:9:
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/algo/sleef-inl.h:23:10: fatal error: 'hwy/highway.h' file not found
   23 | #include "hwy/highway.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
[2/20] Compiling sleef-inl.cpp
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JxlJpegLiEncoder.mm:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/20] Compiling jxlc JxlJpegLiEncoder.mm
[2/20] Compiling jxlc JxlWorker.cpp
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JxlInternalCoder.mm:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/20] Compiling jxlc JxlInternalCoder.mm
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/JxlConstruction.mm:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/20] Compiling jxlc JxlConstruction.mm
[2/20] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/RgbRgbaConverter.mm:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/20] Compiling jxlc RgbRgbaConverter.mm
/host/spi-builder-workspace/.build/checkouts/jxl-coder-swift/Sources/jxlc/RgbaScaler.mm:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/20] Compiling jxlc RgbaScaler.mm
BUILD FAILURE 6.1 wasm