The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DTCoreText with Swift 5.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/DTCoreText.git
Reference: 1.6.27
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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 'Externals/DTFoundation' (https://github.com/Cocoanetics/DTFoundation.git) registered for path 'Externals/DTFoundation'
Cloning into '/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Externals/DTFoundation'...
Submodule path 'Externals/DTFoundation': checked out '4ff59679e1654e7dc85e931f3279ca280e8d347e'
Cloned https://github.com/Cocoanetics/DTCoreText.git into spi-builder-workspace
9d2d4d2296e5d2d852a7d3c592b817d913a5d020
SUCCESS checkout https://github.com/Cocoanetics/DTCoreText.git at 1.6.27
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64
Fetching https://github.com/Cocoanetics/DTFoundation.git from cache
Fetched https://github.com/Cocoanetics/DTFoundation.git (0.18s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.18 (0.46s)
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.
Building for debugging...
[0/63] Copying default.css
[1/63] Compiling NSMutableString+HTML.m
[2/63] Compiling NSString+Paragraphs.m
[3/63] Compiling DTCoreText resource_bundle_accessor.m
[4/63] Compiling NSNumber+RomanNumerals.m
[5/63] Compiling NSString+CSS.m
[6/63] Compiling UIFont+DTCoreText.m
[7/63] Compiling NSDictionary+DTCoreText.m
[8/63] Compiling NSMutableAttributedString+HTML.m
[9/63] Compiling NSAttributedStringRunDelegates.m
[10/63] Compiling NSAttributedString+SmallCaps.m
[11/63] Compiling NSAttributedString+HTML.m
[12/63] Compiling NSCharacterSet+HTML.m
[13/63] Compiling NSAttributedString+DTDebug.m
[14/63] Compiling NSCoder+DTCompatibility.m
[15/63] Compiling NSScanner+HTML.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/NSAttributedString+DTCoreText.m:15:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[16/63] Compiling NSAttributedString+DTCoreText.m
[17/63] Compiling DTVideoTextAttachment.m
[18/63] Compiling NSString+HTML.m
[19/63] Compiling DTTextBlock.m
[20/63] Compiling DTTextHTMLElement.m
[21/63] Compiling DTTextAttachmentHTMLElement.m
[22/63] Compiling DTStylesheetHTMLElement.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTTextAttachment.m:14:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[23/63] Compiling DTTextAttachment.m
[24/63] Compiling DTLinkButton.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTListItemHTMLElement.m:17:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[25/63] Compiling DTListItemHTMLElement.m
[26/63] Compiling DTLazyImageView.m
[27/63] Compiling DTImage+HTML.m
[28/63] Compiling DTObjectTextAttachment.m
[29/63] Compiling DTHorizontalRuleHTMLElement.m
[30/63] Compiling DTHTMLParserTextNode.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.m:9:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[31/63] Compiling DTHTMLParserNode.m
[32/63] Compiling DTDictationPlaceholderView.m
[33/63] Compiling DTImageTextAttachment.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:35: error: unknown receiver 'UIColor'; did you mean 'CIColor'?
    _defaultTag.underlineColor = [UIColor blackColor];
                                  ^~~~~~~
                                  CIColor
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:26:34: note: 'CIColor' declared here
@class CIContext, CIFilterShape, CIColor, CIFilter;
                                 ^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:32: warning: incompatible pointer types assigning to 'NSColor *' from 'NS_AVAILABLE(10_12, 10_0) CIColor *' [-Wincompatible-pointer-types]
    _defaultTag.underlineColor = [UIColor blackColor];
                               ^ ~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[34/63] Compiling DTHTMLAttributedStringBuilder.m
[34/63] Compiling DTCoreTextLayouter.m
[34/63] Compiling DTCoreTextParagraphStyle.m
[34/63] Compiling DTCoreTextLayoutLine.m
[34/63] Compiling DTDictationPlaceholderTextAttachment.m
[34/63] Compiling DTHTMLElement.m
[34/63] Compiling DTHTMLWriter.m
[34/63] Compiling DTIframeTextAttachment.m
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/Cocoanetics/DTFoundation.git from cache
Fetched https://github.com/Cocoanetics/DTFoundation.git (0.18s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.18 (0.46s)
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."
Output: "Building for debugging...
[0/63] Copying default.css
[1/63] Compiling NSMutableString+HTML.m
[2/63] Compiling NSString+Paragraphs.m
[3/63] Compiling DTCoreText resource_bundle_accessor.m
[4/63] Compiling NSNumber+RomanNumerals.m
[5/63] Compiling NSString+CSS.m
[6/63] Compiling UIFont+DTCoreText.m
[7/63] Compiling NSDictionary+DTCoreText.m
[8/63] Compiling NSMutableAttributedString+HTML.m
[9/63] Compiling NSAttributedStringRunDelegates.m
[10/63] Compiling NSAttributedString+SmallCaps.m
[11/63] Compiling NSAttributedString+HTML.m
[12/63] Compiling NSCharacterSet+HTML.m
[13/63] Compiling NSAttributedString+DTDebug.m
[14/63] Compiling NSCoder+DTCompatibility.m
[15/63] Compiling NSScanner+HTML.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/NSAttributedString+DTCoreText.m:15:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[16/63] Compiling NSAttributedString+DTCoreText.m
[17/63] Compiling DTVideoTextAttachment.m
[18/63] Compiling NSString+HTML.m
[19/63] Compiling DTTextBlock.m
[20/63] Compiling DTTextHTMLElement.m
[21/63] Compiling DTTextAttachmentHTMLElement.m
[22/63] Compiling DTStylesheetHTMLElement.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTTextAttachment.m:14:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[23/63] Compiling DTTextAttachment.m
[24/63] Compiling DTLinkButton.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTListItemHTMLElement.m:17:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[25/63] Compiling DTListItemHTMLElement.m
[26/63] Compiling DTLazyImageView.m
[27/63] Compiling DTImage+HTML.m
[28/63] Compiling DTObjectTextAttachment.m
[29/63] Compiling DTHorizontalRuleHTMLElement.m
[30/63] Compiling DTHTMLParserTextNode.m
In file included from /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.m:9:
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.h:40:40: warning: 'atomic' attribute on property 'image' does not match the property inherited from 'NSTextAttachment' [-Wproperty-attribute-mismatch]
@property (nonatomic, strong) DTImage *image;
                                       ^
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextAttachment.h:80:39: note: property declared here
@property (nullable, strong) NSImage *image API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
                                      ^
1 warning generated.
[31/63] Compiling DTHTMLParserNode.m
[32/63] Compiling DTDictationPlaceholderView.m
[33/63] Compiling DTImageTextAttachment.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:35: error: unknown receiver 'UIColor'; did you mean 'CIColor'?
    _defaultTag.underlineColor = [UIColor blackColor];
                                  ^~~~~~~
                                  CIColor
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:26:34: note: 'CIColor' declared here
@class CIContext, CIFilterShape, CIColor, CIFilter;
                                 ^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:32: warning: incompatible pointer types assigning to 'NSColor *' from 'NS_AVAILABLE(10_12, 10_0) CIColor *' [-Wincompatible-pointer-types]
    _defaultTag.underlineColor = [UIColor blackColor];
                               ^ ~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[34/63] Compiling DTHTMLAttributedStringBuilder.m
[34/63] Compiling DTCoreTextLayouter.m
[34/63] Compiling DTCoreTextParagraphStyle.m
[34/63] Compiling DTCoreTextLayoutLine.m
[34/63] Compiling DTDictationPlaceholderTextAttachment.m
[34/63] Compiling DTHTMLElement.m
[34/63] Compiling DTHTMLWriter.m
[34/63] Compiling DTIframeTextAttachment.m"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
[0/1] Planning build
Building for debugging...
[0/29] Compiling DTCoreTextLayouter.m
[1/29] Compiling DTIframeTextAttachment.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:35: error: unknown receiver 'UIColor'; did you mean 'CIColor'?
    _defaultTag.underlineColor = [UIColor blackColor];
                                  ^~~~~~~
                                  CIColor
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:26:34: note: 'CIColor' declared here
@class CIContext, CIFilterShape, CIColor, CIFilter;
                                 ^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:32: warning: incompatible pointer types assigning to 'NSColor *' from 'NS_AVAILABLE(10_12, 10_0) CIColor *' [-Wincompatible-pointer-types]
    _defaultTag.underlineColor = [UIColor blackColor];
                               ^ ~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[2/29] Compiling DTHTMLAttributedStringBuilder.m
[2/29] Compiling DTCoreTextLayoutFrame.m
[2/29] Compiling DTCoreTextLayoutFrameAccessibilityElementGenerator.m
[2/29] Compiling DTDictationPlaceholderTextAttachment.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLElement.m:224:32: warning: incompatible pointer types sending 'struct CGColor *' to parameter of type 'id _Nonnull' [-Wincompatible-pointer-types]
            [tmpDict setObject:_underlineColor.CGColor forKey:(id)kCTUnderlineColorAttributeName];
                               ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:102:31: note: passing argument to parameter 'anObject' here
- (void)setObject:(ObjectType)anObject forKey:(KeyType <NSCopying>)aKey;
                              ^
[2/29] Compiling DTHTMLElement.m
[2/29] Compiling DTCoreTextParagraphStyle.m
[2/29] Compiling DTCoreTextLayoutLine.m
[2/29] Compiling DTHTMLWriter.m
ShellOut encountered an error
Status code: 1
Message: "warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found."
Output: "[0/1] Planning build
Building for debugging...
[0/29] Compiling DTCoreTextLayouter.m
[1/29] Compiling DTIframeTextAttachment.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:35: error: unknown receiver 'UIColor'; did you mean 'CIColor'?
    _defaultTag.underlineColor = [UIColor blackColor];
                                  ^~~~~~~
                                  CIColor
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:26:34: note: 'CIColor' declared here
@class CIContext, CIFilterShape, CIColor, CIFilter;
                                 ^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLAttributedStringBuilder.m:332:32: warning: incompatible pointer types assigning to 'NSColor *' from 'NS_AVAILABLE(10_12, 10_0) CIColor *' [-Wincompatible-pointer-types]
    _defaultTag.underlineColor = [UIColor blackColor];
                               ^ ~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[2/29] Compiling DTHTMLAttributedStringBuilder.m
[2/29] Compiling DTCoreTextLayoutFrame.m
[2/29] Compiling DTCoreTextLayoutFrameAccessibilityElementGenerator.m
[2/29] Compiling DTDictationPlaceholderTextAttachment.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTHTMLElement.m:224:32: warning: incompatible pointer types sending 'struct CGColor *' to parameter of type 'id _Nonnull' [-Wincompatible-pointer-types]
            [tmpDict setObject:_underlineColor.CGColor forKey:(id)kCTUnderlineColorAttributeName];
                               ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:102:31: note: passing argument to parameter 'anObject' here
- (void)setObject:(ObjectType)anObject forKey:(KeyType <NSCopying>)aKey;
                              ^
[2/29] Compiling DTHTMLElement.m
[2/29] Compiling DTCoreTextParagraphStyle.m
[2/29] Compiling DTCoreTextLayoutLine.m
[2/29] Compiling DTHTMLWriter.m"
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5