The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

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 /Users/builder/builds/TDmZkXJm/3/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 path 'Externals/DTFoundation': checked out '4ff59679e1654e7dc85e931f3279ca280e8d347e'
Submodule 'Externals/DTFoundation' (https://github.com/Cocoanetics/DTFoundation.git) registered for path 'Externals/DTFoundation'
Cloning into '/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Cocoanetics/DTCoreText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/63] Copying default.css
[1/63] Compiling NSNumber+RomanNumerals.m
[2/63] Compiling NSString+Paragraphs.m
[3/63] Compiling DTCoreText resource_bundle_accessor.m
[4/63] Compiling NSMutableString+HTML.m
[5/63] Compiling NSCharacterSet+HTML.m
[6/63] Compiling UIFont+DTCoreText.m
[7/63] Compiling NSMutableAttributedString+HTML.m
[8/63] Compiling NSScanner+HTML.m
[9/63] Compiling NSCoder+DTCompatibility.m
[10/63] Compiling NSAttributedString+SmallCaps.m
[11/63] Compiling NSAttributedStringRunDelegates.m
[12/63] Compiling NSDictionary+DTCoreText.m
[13/63] Compiling NSAttributedString+DTDebug.m
[14/63] Compiling DTTextBlock.m
[15/63] Compiling DTTextAttachmentHTMLElement.m
[16/63] Compiling DTVideoTextAttachment.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/NSAttributedString+DTCoreText.m:15:
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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.
[17/63] Compiling NSAttributedString+DTCoreText.m
[18/63] Compiling DTTextHTMLElement.m
[19/63] Compiling NSString+CSS.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTTextAttachment.m:14:
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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.
[20/63] Compiling DTTextAttachment.m
[21/63] Compiling NSAttributedString+HTML.m
[22/63] Compiling DTLinkButton.m
[23/63] Compiling DTStylesheetHTMLElement.m
[24/63] Compiling DTObjectTextAttachment.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTListItemHTMLElement.m:17:
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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 NSString+HTML.m
[28/63] Compiling DTImage+HTML.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Core/Source/DTImageTextAttachment.m:9:
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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.
[29/63] Compiling DTImageTextAttachment.m
[30/63] Compiling DTIframeTextAttachment.m
[31/63] Compiling DTHTMLParserTextNode.m
[32/63] Compiling DTHTMLParserNode.m
[33/63] Compiling DTHorizontalRuleHTMLElement.m
[34/63] Compiling DTDictationPlaceholderView.m
[35/63] Compiling DTHTMLWriter.m
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:26:34: note: 'CIColor' declared here
@class CIContext, CIFilterShape, CIColor, CIFilter;
                                 ^
/Users/builder/builds/TDmZkXJm/3/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.
[36/63] Compiling DTHTMLAttributedStringBuilder.m
[36/63] Compiling DTCoreTextLayoutFrameAccessibilityElementGenerator.m
[36/63] Compiling DTCoreTextLayoutFrame.m
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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;
                              ^
[36/63] Compiling DTHTMLElement.m
[36/63] Compiling DTDictationPlaceholderTextAttachment.m
[36/63] Compiling DTCoreTextLayoutLine.m
[36/63] Compiling DTCoreTextParagraphStyle.m
[36/63] Compiling DTCoreTextLayouter.m
Fetching https://github.com/Cocoanetics/DTFoundation.git from cache
Fetched https://github.com/Cocoanetics/DTFoundation.git from cache (0.20s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.18 (0.51s)
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.
[0/1] Planning build
Building for debugging...
[0/27] Compiling DTCoreTextLayoutFrameAccessibilityElementGenerator.m
[1/27] Compiling DTDictationPlaceholderTextAttachment.m
[2/27] Compiling DTCoreTextLayouter.m
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:26:34: note: 'CIColor' declared here
@class CIContext, CIFilterShape, CIColor, CIFilter;
                                 ^
/Users/builder/builds/TDmZkXJm/3/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.
[3/27] Compiling DTHTMLAttributedStringBuilder.m
[3/27] Compiling DTCoreTextParagraphStyle.m
[3/27] Compiling DTCoreTextFunctions.m
[3/27] Compiling DTCoreTextLayoutFrame.m
[3/27] Compiling DTCoreTextGlyphRun.m
[3/27] Compiling DTCoreTextLayoutFrame+Cursor.m
/Users/builder/builds/TDmZkXJm/3/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-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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;
                              ^
[3/27] Compiling DTHTMLElement.m
[3/27] Compiling DTCoreTextLayoutLine.m
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
BUILD FAILURE 5.10 macosSpm