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 DTFoundation 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/DTFoundation.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/DTFoundation
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 4ff5967 Xcode 13 upgrade check, fixed warning
Cloned https://github.com/Cocoanetics/DTFoundation.git
Revision (git rev-parse @):
4ff59679e1654e7dc85e931f3279ca280e8d347e
SUCCESS checkout https://github.com/Cocoanetics/DTFoundation.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Cocoanetics/DTFoundation.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
warning: 'spi-builder-workspace': ignoring target 'DTFoundationTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/Core/Source/DTVersion.m:9:
/host/spi-builder-workspace/Core/Source/DTVersion.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTVersion.m
[0/70] Compiling DTProgressHUDWindow.m
In file included from /host/spi-builder-workspace/Core/Source/DTBase64Coding.m:26:
/host/spi-builder-workspace/Core/Source/DTBase64Coding.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTBase64Coding.m
In file included from /host/spi-builder-workspace/Core/Source/DTBlockFunctions.m:9:
/host/spi-builder-workspace/Core/Source/DTBlockFunctions.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTBlockFunctions.m
In file included from /host/spi-builder-workspace/Core/Source/DTAsyncFileDeleter/DTAsyncFileDeleter.m:9:
/host/spi-builder-workspace/Core/Source/DTAsyncFileDeleter/DTAsyncFileDeleter.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTAsyncFileDeleter.m
/host/spi-builder-workspace/Core/Source/DTCoreGraphicsUtils.m:9:9: fatal error: 'CoreGraphics/CoreGraphics.h' file not found
#import <CoreGraphics/CoreGraphics.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/70] Compiling DTCoreGraphicsUtils.m
In file included from /host/spi-builder-workspace/Core/Source/DTAWS/NSURL+DTAWS.m:9:
/host/spi-builder-workspace/Core/Source/DTAWS/NSURL+DTAWS.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/70] Compiling NSURL+DTAWS.m
/host/spi-builder-workspace/Core/Source/DTZipArchive/DTZipArchive.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/70] Compiling DTZipArchive.m
warning: 'spi-builder-workspace': ignoring target 'DTFoundationTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Core/Source/iOS/NSURL+DTAppLinks.m:9:
/host/spi-builder-workspace/Core/Source/iOS/NSURL+DTAppLinks.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling NSURL+DTAppLinks.m
[0/70] Compiling UIView+DTDebug.m
In file included from /host/spi-builder-workspace/Core/Source/iOS/UIScreen+DTFoundation.m:9:
/host/spi-builder-workspace/Core/Source/iOS/UIScreen+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling UIScreen+DTFoundation.m
In file included from /host/spi-builder-workspace/Core/Source/iOS/Debug/UIColor+DTDebug.m:10:
/host/spi-builder-workspace/Core/Source/iOS/Debug/UIColor+DTDebug.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling UIColor+DTDebug.m
[0/70] Compiling UIApplication+DTNetworkActivity.m
In file included from /host/spi-builder-workspace/Core/Source/iOS/DTTiledLayerWithoutFade.m:9:
/host/spi-builder-workspace/Core/Source/iOS/DTTiledLayerWithoutFade.h:9:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTTiledLayerWithoutFade.m
[0/70] Compiling UIImage+DTFoundation.m
[0/70] Compiling UIView+DTFoundation.m
BUILD FAILURE 5.10 linux