The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SVGKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SVGKit/SVGKit.git
Reference: 3.0.0
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/SVGKit/SVGKit
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 58152b9 修复加载某些SVG图片,闪退的Bug (#714)
Cloned https://github.com/SVGKit/SVGKit.git
Revision (git rev-parse @):
58152b9f7c85eab239160b36ffdfd364aa43d666
SUCCESS checkout https://github.com/SVGKit/SVGKit.git at 3.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SVGKit/SVGKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18012] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (0.68s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.8.4 (0.37s)
Fetching https://github.com/apple/swift-log
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.32s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.4 (0.40s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.8.4
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.4
Building for debugging...
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/AppleSucksDOMImplementation.m:2:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/AppleSucksDOMImplementation.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/107] Compiling AppleSucksDOMImplementation.m
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSRule.m:1:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSRule.h:22:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSPrimitiveValue.m:1:
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSPrimitiveValue.h:52:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSValue.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/Attr.m:9:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/Attr.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/107] Compiling Attr.m
[0/107] Compiling CSSRule.m
[0/107] Compiling CSSPrimitiveValue.m
[0/107] Compiling CDATASection.m
[0/107] Compiling SVGKInlineResource.m
[0/107] Compiling SVGKSourceURL.m
In file included from /host/spi-builder-workspace/Source/AppKit additions/SVGKImageRep.m:9:
In file included from /host/spi-builder-workspace/Source/include/SVGKit.h:18:
/host/spi-builder-workspace/Source/include/SVGKDefine.h:11:10: fatal error: 'TargetConditionals.h' file not found
#include "TargetConditionals.h"
         ^~~~~~~~~~~~~~~~~~~~~~
[0/107] Compiling SVGKImageRep.m
[0/1] Planning build
Building for debugging...
[0/107] Write sources
In file included from /host/spi-builder-workspace/Source/Utils/SVGKInlineResource.m:9:
In file included from /host/spi-builder-workspace/Source/Utils/SVGKInlineResource.h:9:
/host/spi-builder-workspace/Source/include/SVGKDefine.h:11:10: fatal error: 'TargetConditionals.h' file not found
#include "TargetConditionals.h"
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/107] Compiling SVGKInlineResource.m
[1/107] Compiling SVGKSourceLocalFile.m
[1/107] Compiling SVGKSourceNSData.m
In file included from /host/spi-builder-workspace/Source/Utils/SVGKPattern.m:1:
/host/spi-builder-workspace/Source/Utils/SVGKPattern.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/107] Compiling SVGKPattern.m
[1/107] Compiling SVGKSourceString.m
In file included from /host/spi-builder-workspace/Source/Sources/SVGKSourceURL.m:1:
In file included from /host/spi-builder-workspace/Source/Sources/SVGKSourceURL.h:4:
/host/spi-builder-workspace/Source/include/SVGKSource.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/107] Compiling SVGKSourceURL.m
In file included from /host/spi-builder-workspace/Source/Utils/SVGUtils.m:8:
/host/spi-builder-workspace/Source/Utils/SVGUtils.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'CocoaLumberjack' imported from /host/spi-builder-workspace/Source/include/SVGKDefine_Private.h:11:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/CLIColor.h:16:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[1/107] Compiling SVGUtils.m
[1/107] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1