The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DTCoreText 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/DTCoreText.git
Reference: 1.6.27
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/DTCoreText
 * tag               1.6.27     -> FETCH_HEAD
HEAD is now at 9d2d4d2 Merge pull request #1253 from lucky781123/1.6.26-HuiLiu-fix#1249
Submodule path 'Externals/DTFoundation': checked out '4ff59679e1654e7dc85e931f3279ca280e8d347e'
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/DTCoreText.git
Revision (git rev-parse @):
9d2d4d2296e5d2d852a7d3c592b817d913a5d020
SUCCESS checkout https://github.com/Cocoanetics/DTCoreText.git at 1.6.27
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Cocoanetics/DTCoreText.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
[1/7721] Fetching dtfoundation
Fetched https://github.com/Cocoanetics/DTFoundation.git from cache (0.64s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.18 (0.40s)
Creating working copy for https://github.com/Cocoanetics/DTFoundation.git
Working copy of https://github.com/Cocoanetics/DTFoundation.git resolved at 1.7.18
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
warning: 'spi-builder-workspace': ignoring target 'DTCoreTextTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/63] Copying default.css
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/63] Compiling NSMutableString+HTML.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/63] Compiling NSNumber+RomanNumerals.m
[1/63] Compiling NSString+CSS.m
In file included from [1/63] Compiling NSString+Paragraphs.m
[1/63] Compiling NSScanner+HTML.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/63] Compiling NSString+HTML.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/63] Compiling DTCoreText resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/63] Compiling UIFont+DTCoreText.m
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
warning: 'spi-builder-workspace': ignoring target 'DTCoreTextTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/62] Compiling NSMutableString+HTML.m
[0/62] Compiling NSNumber+RomanNumerals.m
[0/62] Compiling NSMutableAttributedString+HTML.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/62] Compiling NSString+CSS.m
[0/62] Compiling NSScanner+HTML.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/62] Compiling NSString+HTML.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTCoreText.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/62] Compiling UIFont+DTCoreText.m
[0/62] Compiling NSString+Paragraphs.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 1