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-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/DTFoundation.git
Reference: 1.7.18
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
 * tag               1.7.18     -> FETCH_HEAD
HEAD is now at 7606251 Merge branch 'release-1.7.18'
Cloned https://github.com/Cocoanetics/DTFoundation.git
Revision (git rev-parse @):
76062513434421cb6c8a1ae1d4f8368a7ebc2da3
SUCCESS checkout https://github.com/Cocoanetics/DTFoundation.git at 1.7.18
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: 'spi-builder-workspace': Invalid Resource 'SelfSigned.der': File not found.
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/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling NSURL+DTAWS.m
In file included from /host/spi-builder-workspace/Core/Source/DTASN1/DTASN1Serialization.m:9:
/host/spi-builder-workspace/Core/Source/DTASN1/DTASN1Serialization.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTASN1Serialization.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/DTASN1/DTASN1Parser.m:9:
/host/spi-builder-workspace/Core/Source/DTASN1/DTASN1Parser.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/70] Compiling DTASN1Parser.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/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>[0/70] Compiling DTBase64Coding.m
In file included from /host/spi-builder-workspace/Core/Source/DTASN1/DTASN1BitString.m:9:
/host/spi-builder-workspace/Core/Source/DTASN1/DTASN1BitString.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling DTASN1BitString.m
[0/70] Compiling DTAsyncFileDeleter.m
warning: 'spi-builder-workspace': Invalid Resource 'SelfSigned.der': File not found.
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/UIView+DTFoundation.m:9:
/host/spi-builder-workspace/Core/Source/iOS/UIView+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
#import <Availability.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
[0/70] Compiling UIView+DTFoundation.m
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 DTTiledLayerWithoutFade.m
[0/70] Compiling NSURL+DTAppLinks.m
[0/70] Compiling UIApplication+DTNetworkActivity.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[0/70] Compiling UIScreen+DTFoundation.m
[0/70] Compiling UIView+DTDebug.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 UIImage+DTFoundation.m
BUILD FAILURE 5.10 linux