The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kvitto with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/Cocoanetics/Kvitto.git
Reference: develop
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/Cocoanetics/Kvitto
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 052ee7f Merge pull request #23 from flymg/swiftdemo
Submodule path 'Externals/DTFoundation': checked out 'badc4850c8495201e86b142016aec403e91c5333'
Submodule 'Externals/DTFoundation' (https://github.com/Cocoanetics/DTFoundation.git) registered for path 'Externals/DTFoundation'
Cloning into '/host/spi-builder-workspace/Externals/DTFoundation'...
Cloned https://github.com/Cocoanetics/Kvitto.git
Revision (git rev-parse @):
052ee7ffdb218199188916f92c638e857fe5b1b4
SUCCESS checkout https://github.com/Cocoanetics/Kvitto.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Cocoanetics/Kvitto.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Cocoanetics/DTFoundation.git
[78/7721] Fetching dtfoundation
Fetched https://github.com/Cocoanetics/DTFoundation.git from cache (0.58s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.18 (0.41s)
Creating working copy for https://github.com/Cocoanetics/DTFoundation.git
Working copy of https://github.com/Cocoanetics/DTFoundation.git resolved at 1.7.18
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTScripting/NSScanner+DTScripting.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTScripting/NSScanner+DTScripting.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/72] Compiling NSScanner+DTScripting.m
[0/72] Compiling NSString+DTUTI.m
[0/72] Compiling DTZipArchivePKZip.m
[0/72] Compiling DTZipArchive.m
[0/72] Compiling DTZipArchiveNode.m
[0/72] Compiling DTZipArchiveGZip.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTVersion.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTVersion.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/72] Compiling DTVersion.m
[0/72] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/72] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIImage+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIImage+DTFoundation.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling UIImage+DTFoundation.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIScreen+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIScreen+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling UIScreen+DTFoundation.m
[1/72] Compiling UIView+DTDebug.m
[1/72] Compiling UIColor+DTDebug.m
[1/72] Compiling UIApplication+DTNetworkActivity.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/NSURL+DTAppLinks.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/NSURL+DTAppLinks.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling NSURL+DTAppLinks.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIView+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIView+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling UIView+DTFoundation.m
[1/72] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1