The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Kvitto with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/Cocoanetics/Kvitto.git
Reference: 1.0.6
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
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at 8888867 Merge branch 'release-1.0.6'
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 @):
88888674d772ddcf19671159ed0022cb0bc37be2
SUCCESS checkout https://github.com/Cocoanetics/Kvitto.git at 1.0.6
========================================
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-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Cocoanetics/DTFoundation.git
[1/7721] Fetching dtfoundation
Fetched https://github.com/Cocoanetics/DTFoundation.git from cache (0.74s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.18 (0.49s)
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...
[0/72] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTAsyncFileDeleter/DTAsyncFileDeleter.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTAsyncFileDeleter/DTAsyncFileDeleter.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling DTAsyncFileDeleter.m
[1/72] Compiling NSURL+DTAWS.m
[1/72] Compiling UIView+DTFoundation.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTASN1/DTASN1Serialization.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTASN1/DTASN1Serialization.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling DTASN1Serialization.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTASN1/DTASN1Parser.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTASN1/DTASN1Parser.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/72] Compiling DTASN1Parser.m
[1/72] Compiling DTBase64Coding.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTBlockFunctions.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTBlockFunctions.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling DTBlockFunctions.m
[1/72] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
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.
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.
[0/71] Compiling UIView+DTFoundation.m
[0/71] Compiling UIScreen+DTFoundation.m
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.
[0/71] Compiling UIImage+DTFoundation.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIApplication+DTNetworkActivity.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIApplication+DTNetworkActivity.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling UIApplication+DTNetworkActivity.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/DTTiledLayerWithoutFade.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/DTTiledLayerWithoutFade.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling DTTiledLayerWithoutFade.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/Debug/UIColor+DTDebug.m:10:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/Debug/UIColor+DTDebug.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling UIColor+DTDebug.m
[0/71] Compiling NSURL+DTAppLinks.m
[0/71] Compiling UIView+DTDebug.m
BUILD FAILURE 5.10 linux