The Swift Package Index logo.Swift Package Index

Build Information

Failed to build vger, reference main (ac9b33), with Swift 6.1 for Wasm on 20 Dec 2025 21:23:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/audulus/vger.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/audulus/vger
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ac9b337 add vgerDeleteTextures
Cloned https://github.com/audulus/vger.git
Revision (git rev-parse @):
ac9b337b2ed762326f72e8dd7a12c1eb2d156960
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/audulus/vger.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/audulus/vger.git
https://github.com/audulus/vger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
    {
      "identity" : "metalnanovg",
      "requirement" : {
        "branch" : [
          "spm"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wtholliday/MetalNanoVG"
    }
  ],
  "manifest_display_name" : "vger",
  "name" : "vger",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "vger",
      "targets" : [
        "vger",
        "vgerSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "vgerTests",
      "module_type" : "ClangTarget",
      "name" : "vgerTests",
      "path" : "Tests/vgerTests",
      "product_dependencies" : [
        "MetalNanoVG"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/vgerTests/images",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "link.m",
        "sdfTests.mm",
        "testUtils.mm",
        "vgerGlyphCacheTests.mm",
        "vgerPathScannerTests.mm",
        "vgerTests.mm",
        "vgerTextureManagerTests.mm"
      ],
      "target_dependencies" : [
        "vger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "vgerSwift",
      "module_type" : "SwiftTarget",
      "name" : "vgerSwift",
      "path" : "Sources/vgerSwift",
      "product_memberships" : [
        "vger"
      ],
      "sources" : [
        "MTKView+ContentScaleFactor.swift",
        "Renderer.swift",
        "TextureHandle.swift",
        "TextureRenderer.swift",
        "VgerView.swift"
      ],
      "target_dependencies" : [
        "vger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "vger",
      "module_type" : "ClangTarget",
      "name" : "vger",
      "path" : "Sources/vger",
      "product_memberships" : [
        "vger"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/vger/fonts",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "stb_rect_pack.cpp",
        "vger.mm",
        "vgerGlyphCache.mm",
        "vgerGlyphPathCache.mm",
        "vgerPathScanner.mm",
        "vgerRenderer.mm",
        "vgerTextureManager.mm"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': ignoring target 'vgerTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/wtholliday/MetalNanoVG
[1/379] Fetching metalnanovg
Fetched https://github.com/wtholliday/MetalNanoVG from cache (0.31s)
Creating working copy for https://github.com/wtholliday/MetalNanoVG
Working copy of https://github.com/wtholliday/MetalNanoVG resolved at spm (b6f7f25)
warning: 'spi-builder-workspace': ignoring target 'vgerTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/vgerSwift/TextureRenderer.metal
Building for debugging...
[0/11] Write sources
[1/11] Copying fonts
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/vger.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/11] Compiling vger resource_bundle_accessor.m
[2/11] Compiling vger vger.mm
[2/11] Compiling vger vgerPathScanner.mm
[2/11] Compiling vger vgerGlyphPathCache.mm
[2/11] Compiling vger vgerGlyphCache.mm
[2/11] Compiling vger vgerRenderer.mm
[2/11] Compiling vger vgerTextureManager.mm
[2/11] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
warning: 'spi-builder-workspace': ignoring target 'vgerTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/vgerSwift/TextureRenderer.metal
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/vger.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling vger vgerRenderer.mm
[0/9] Compiling vger stb_rect_pack.cpp
[0/9] Compiling vger resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/vger.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/9] Compiling vger vgerGlyphCache.mm
[0/9] Compiling vger vger.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/vger.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/9] Compiling vger vgerTextureManager.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/vger.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/9] Compiling vger vgerGlyphPathCache.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/vger.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/9] Compiling vger vgerPathScanner.mm
BUILD FAILURE 6.1 wasm