The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SnappThemingSVGSupport, reference 0.0.4 (b79cec), with Swift 6.1 for Linux on 12 Nov 2025 16:18:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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:         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-4609320-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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/18844] Fetching swiftformatlintplugin, svgkit
[1068/39503] Fetching swiftformatlintplugin, svgkit, snapptheming
Fetched https://github.com/SVGKit/SVGKit.git from cache (2.80s)
[15103/20790] Fetching swiftformatlintplugin, snapptheming
Fetched https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git from cache (6.97s)
Fetched https://github.com/Snapp-Mobile/SnappTheming from cache (7.26s)
Computing version for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Computed https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git at 1.0.4 (7.82s)
Computing version for https://github.com/Snapp-Mobile/SnappTheming
Computed https://github.com/Snapp-Mobile/SnappTheming at 0.1.3 (0.55s)
Computing version for https://github.com/SVGKit/SVGKit.git
Computed https://github.com/SVGKit/SVGKit.git at 3.0.0 (2.49s)
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18696] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (0.88s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.0 (1.50s)
Fetching https://github.com/apple/swift-log
[1/4398] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.39s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.93s)
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/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
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.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...
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.
[2/135] Compiling CSSRuleList.m
[2/135] Compiling Attr.m
[2/135] Compiling CSSRule.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/AppleSucksDOMImplementation.m:2:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/AppleSucksDOMImplementation.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
   28 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/135] Compiling AppleSucksDOMImplementation.m
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
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSStyleDeclaration.m:1:
/host/spi-builder-workspace/.build/checkouts/SVGKit/Source/DOM classes/Core DOM/CSSStyleDeclaration.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/135] Compiling CSSStyleDeclaration.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-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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
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/135] Write sources
[2/135] Copying light.json
[2/135] Copying pink.json
[2/135] Copying dark.json
[3/135] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceLocalFile.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SVGKit/Source/Sources/SVGKSourceLocalFile.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.
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.
[8/135] Compiling SVGKSourceString.m
[8/135] Compiling SVGKSourceLocalFile.m
[8/135] Compiling SVGKSourceNSData.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/135] Compiling SVGKSourceURL.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.
[8/135] Compiling SVGUtils.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/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.
[8/135] Compiling SVGKPattern.m
[8/135] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux