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 SnappThemingSVGSupport, reference 0.0.4 (b79cec), with Swift 6.1 for Wasm on 12 Nov 2025 16:18:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/Snapp-Mobile/SnappThemingSVGSupport.git
Reference: 0.0.4
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/Snapp-Mobile/SnappThemingSVGSupport
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at b79cec3 Merge pull request #19 from Snapp-Mobile/0.0.4
Cloned https://github.com/Snapp-Mobile/SnappThemingSVGSupport.git
Revision (git rev-parse @):
b79cec32c137e20ca7d82af1c43af61f0e7a53a4
SUCCESS checkout https://github.com/Snapp-Mobile/SnappThemingSVGSupport.git at 0.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Snapp-Mobile/SnappThemingSVGSupport.git
https://github.com/Snapp-Mobile/SnappThemingSVGSupport.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "svgkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SVGKit/SVGKit.git"
    },
    {
      "identity" : "snapptheming",
      "requirement" : {
        "exact" : [
          "0.1.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Snapp-Mobile/SnappTheming"
    },
    {
      "identity" : "swiftformatlintplugin",
      "requirement" : {
        "exact" : [
          "1.0.4"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git"
    }
  ],
  "manifest_display_name" : "SnappThemingSVGSupport",
  "name" : "SnappThemingSVGSupport",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SnappThemingSVGSupport",
      "targets" : [
        "SnappThemingSVGSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleApp",
      "targets" : [
        "ExampleApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnappThemingSVGSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "SnappThemingSVGSupportTests",
      "path" : "Tests/SnappThemingSVGSupportTests",
      "product_dependencies" : [
        "SVGKit",
        "SnappTheming"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SnappThemingSVGSupportTests/Resources/images.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Fakes/SVGIconString.swift",
        "ImageConverterTests.swift",
        "Mocks/MockSVGKImage.swift",
        "ParserTests.swift",
        "SVGProcessorTests.swift"
      ],
      "target_dependencies" : [
        "SnappThemingSVGSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnappThemingSVGSupport",
      "module_type" : "SwiftTarget",
      "name" : "SnappThemingSVGSupport",
      "path" : "Sources/SnappThemingSVGSupport",
      "product_dependencies" : [
        "SVGKit",
        "SnappTheming",
        "Lint"
      ],
      "product_memberships" : [
        "SnappThemingSVGSupport",
        "ExampleApp"
      ],
      "sources" : [
        "Extensions/SVGKImage+themeImage.swift",
        "SnappThemingSVGSupport.swift",
        "SnappThemingSVGSupportImageConverter.swift",
        "SnappThemingSVGSupportSVGProcessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleApp",
      "module_type" : "SwiftTarget",
      "name" : "ExampleApp",
      "path" : "Sources/ExampleApp",
      "product_dependencies" : [
        "SnappTheming"
      ],
      "product_memberships" : [
        "ExampleApp"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ExampleApp/ExampleApp/Resources/dark.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ExampleApp/ExampleApp/Resources/light.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ExampleApp/ExampleApp/Resources/pink.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ExampleApp/ContentView.swift",
        "ExampleApp/ExampleApp.swift",
        "ExampleApp/SVGImageLoader.swift",
        "ExampleApp/SVGImageLoaderError.swift",
        "ExampleApp/Theme.swift"
      ],
      "target_dependencies" : [
        "SnappThemingSVGSupport"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Snapp-Mobile/SnappTheming
Fetching https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Fetching https://github.com/SVGKit/SVGKit.git
[1/131] Fetching swiftformatlintplugin
Fetched https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git from cache (0.34s)
[1/18713] Fetching svgkit
[2/39372] Fetching svgkit, snapptheming
Fetched https://github.com/SVGKit/SVGKit.git from cache (11.13s)
Fetched https://github.com/Snapp-Mobile/SnappTheming from cache (11.37s)
Computing version for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Computed https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git at 1.0.4 (12.10s)
Computing version for https://github.com/Snapp-Mobile/SnappTheming
Computed https://github.com/Snapp-Mobile/SnappTheming at 0.1.3 (0.61s)
Computing version for https://github.com/SVGKit/SVGKit.git
Computed https://github.com/SVGKit/SVGKit.git at 3.0.0 (2.68s)
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18696] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (1.13s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.0 (1.78s)
Fetching https://github.com/apple/swift-log
[1/4398] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.49s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (1.25s)
Creating working copy for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Working copy of https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git resolved at 1.0.4
Creating working copy for https://github.com/Snapp-Mobile/SnappTheming
Working copy of https://github.com/Snapp-Mobile/SnappTheming resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/SVGKit/SVGKit.git
Working copy of https://github.com/SVGKit/SVGKit.git resolved at 3.0.0
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.9.0
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/ExampleApp/ExampleApp/Assets.xcassets
[1/1] Compiling plugin FormatPlugin
[2/2] Compiling plugin LintPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CDATASection.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CDATASection.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling CDATASection.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/EntityReference.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/EntityReference.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling EntityReference.m
[2/135] Compiling DocumentType.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSPrimitiveValue.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSPrimitiveValue.h:52:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSValue.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/135] Compiling CSSPrimitiveValue.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Element.m:1:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Element.h:49:9: fatal error: 'Foundation/Foundation.h' file not found
   49 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling Element.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/include/SVGKit.h:18:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/include/SVGKDefine.h:11:10: fatal error: 'TargetConditionals.h' file not found
   11 | #include "TargetConditionals.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
[2/135] Compiling SVGKImageRep.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Attr.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Attr.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
   16 | #import <Foun[2/135] Compiling Attr.m
[2/135] Compiling AppleSucksDOMImplementation.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/ExampleApp/ExampleApp/Assets.xcassets
[0/1] Planning build
[1/1] Compiling plugin FormatPlugin
[2/2] Compiling plugin LintPlugin
Building for debugging...
[2/135] Copying pink.json
[2/135] Copying light.json
[2/135] Copying PrivacyInfo.xcprivacy
[2/135] Copying dark.json
[3/135] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Utils/SVGUtils.m:8:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Utils/SVGUtils.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/135] Compiling SVGUtils.m
[8/135] Compiling SVGKSourceLocalFile.m
[8/135] Compiling SVGKSourceString.m
[8/135] Compiling SVGKSourceURL.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Utils/SVGKInlineResource.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Utils/SVGKInlineResource.h:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/include/SVGKDefine.h:11:10: fatal error: 'TargetConditionals.h' file not found
   11 | #include "TargetConditionals.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/135] Compiling SVGKInlineResource.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceNSData.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceNSData.h:4:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/include/SVGKSource.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundat[8/135] Compiling SVGKSourceNSData.m
In file included from [8/135] Compiling SVGKPattern.m
[8/135] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm