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 Linux on 25 Nov 2025 14:27:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-0":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
[1/131] Fetching swiftformatlintplugin
Fetching https://github.com/SVGKit/SVGKit.git
Fetching https://github.com/Snapp-Mobile/SnappTheming
Fetched https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git from cache (0.37s)
[1/18717] Fetching svgkit
[937/44421] Fetching svgkit, snapptheming
Fetched https://github.com/SVGKit/SVGKit.git from cache (9.61s)
Fetched https://github.com/Snapp-Mobile/SnappTheming from cache (9.93s)
Computing version for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Computed https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git at 1.0.4 (13.57s)
Computing version for https://github.com/Snapp-Mobile/SnappTheming
Computed https://github.com/Snapp-Mobile/SnappTheming at 0.1.3 (1.03s)
Computing version for https://github.com/SVGKit/SVGKit.git
Computed https://github.com/SVGKit/SVGKit.git at 3.0.0 (4.66s)
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18696] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (1.69s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.0 (2.76s)
Fetching https://github.com/apple/swift-log
[1/5075] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.76s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (1.74s)
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/SVGKit/SVGKit.git
Working copy of https://github.com/SVGKit/SVGKit.git resolved at 3.0.0
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/Snapp-Mobile/SwiftFormatLintPlugin.git
Working copy of https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git resolved at 1.0.4
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...
[2/135] Copying pink.json
[2/135] Copying light.json
[2/135] Write sources
[2/135] Copying dark.json
[2/135] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSRule.m:1:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSRule.h:22:9: fatal error: 'Foundation/Foundation.h' file not found
   22 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/135] Compiling CSSRule.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.
[7/135] Compiling CDATASection.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/135] Compiling SVGUtils.m
[7/135] Compiling SVGKInlineResource.m
[7/135] Compiling SVGKPattern.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.
[7/135] Compiling CSSPrimitiveValue.m
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSRuleList.m:1:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSRuleList.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/135] Compiling CSSRuleList.m
[7/135] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/130] Write sources
[2/130] Copying PrivacyInfo.xcprivacy
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.
[4/130] Compiling SVGKInlineResource.m
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.
[4/130] Compiling SVGKPattern.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/130] Compiling SVGKSourceURL.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/130] Compiling SVGKSourceString.m
[4/130] Compiling SVGKSourceNSData.m
[4/130] Compiling SVGUtils.m
[4/130] Compiling SVGKSourceLocalFile.m
[4/130] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux