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 main (247b3b), with Swift 6.1 for Android on 25 Nov 2025 14:22:47 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: 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/Snapp-Mobile/SnappThemingSVGSupport
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 247b3b4 Merge pull request #24 from Snapp-Mobile/feature/spi-doc
Cloned https://github.com/Snapp-Mobile/SnappThemingSVGSupport.git
Revision (git rev-parse @):
247b3b4694843c98593e2c4f9461c19e0976ae76
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Snapp-Mobile/SnappThemingSVGSupport.git at main
========================================
Build
========================================
Selected platform:         android
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-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SVGKit/SVGKit.git
Fetching https://github.com/Snapp-Mobile/SnappTheming
Fetching https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
[1/131] Fetching swiftformatlintplugin
[132/18848] Fetching swiftformatlintplugin, svgkit
[1068/44552] Fetching swiftformatlintplugin, svgkit, snapptheming
Fetched https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git from cache (7.04s)
Fetched https://github.com/SVGKit/SVGKit.git from cache (7.10s)
Fetched https://github.com/Snapp-Mobile/SnappTheming from cache (7.33s)
Computing version for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Computed https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git at 1.0.4 (7.87s)
Computing version for https://github.com/Snapp-Mobile/SnappTheming
Computed https://github.com/Snapp-Mobile/SnappTheming at 0.1.3 (0.54s)
Computing version for https://github.com/SVGKit/SVGKit.git
Computed https://github.com/SVGKit/SVGKit.git at 3.0.0 (2.28s)
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18696] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (0.86s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.0 (1.47s)
Fetching https://github.com/apple/swift-log
[1/5075] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.44s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (1.05s)
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/Snapp-Mobile/SnappTheming
Working copy of https://github.com/Snapp-Mobile/SnappTheming resolved at 0.1.3
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.9.0
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/SVGKit/SVGKit.git
Working copy of https://github.com/SVGKit/SVGKit.git resolved at 3.0.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/CharacterData.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CharacterData.h:31:9: fatal error: 'Foundation/Foundation.h' file not found
   31 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling CharacterData.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Text.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Text.h:12:9: fatal error: 'Foundation/Foundation.h' file not found
   12 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/DOMHelperUtilities.m:2:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/DOMHelperUtilities.h:12:9: fatal error: 'Foundation/Foundation.h' file not found
   12 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling DOMHelperUtilities.m
[2/135] Compiling Text.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/NamedNodeMap.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/NamedNodeMap.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
   28 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling NamedNodeMap.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Document.m:1:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Document.h:55:9: fatal error: 'Foundation/Foundation.h' file not found
   55 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling Document.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling CSSPrimitiveValue.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Comment.m:9:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/Comment.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling Comment.m
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
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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] Write sources
[3/135] Copying light.json
[3/135] Copying pink.json
[3/135] Copying dark.json
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Utils/SVGKPattern.m:1:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Utils/SVGKPattern.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/135] Compiling SVGKPattern.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"
      |          ^~~~~~~~~~~~~~~~~~~~~~
[7/135] Compiling SVGKInlineResource.m
[7/135] Compiling SVGKSourceLocalFile.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceURL.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceURL.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/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/135] Compiling SVGKSourceURL.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/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/135] Compiling SVGKSourceNSData.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceString.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceString.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/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/135] Compiling SVGKSourceString.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/135] Compiling SVGUtils.m
[7/135] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android