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 PocketSVG, reference 2.8.0 (890a94), with Swift 5.9 for Linux on 7 Feb 2025 18:35:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pocketsvg/pocketsvg.git
Reference: 2.8.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/pocketsvg/pocketsvg
 * tag               2.8.0      -> FETCH_HEAD
HEAD is now at 890a94e update readme and changelog for v2.8.0
Cloned https://github.com/pocketsvg/pocketsvg.git
Revision (git rev-parse @):
890a94e60c59cdf055b4d549dd246f60c6b25b5e
SUCCESS checkout https://github.com/pocketsvg/pocketsvg.git at 2.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/pocketsvg/pocketsvg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:8:17: warning: 'v10_10' is deprecated: macOS 10.13 is the oldest supported version
        .macOS(.v10_10),
                ^
/host/spi-builder-workspace/Package.swift:9:15: warning: 'v9' is deprecated: iOS 11.0 is the oldest supported version
        .iOS(.v9),
              ^
/host/spi-builder-workspace/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 11.0 is the oldest supported version
        .tvOS(.v10),
               ^
/host/spi-builder-workspace/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version
        .watchOS(.v3),
                  ^
Building for debugging...
[0/7] Copying SVGColors.plist
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/7] Compiling PocketSVG SVGBezierPath.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/7] Compiling PocketSVG SVGLayer.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/7] Compiling PocketSVG resource_bundle_accessor.m
[1/7] Compiling PocketSVG SVGImageView.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/7] Compiling PocketSVG SVGEngine.mm
BUILD FAILURE 5.9 linux