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 MetaTextKit, reference main (295996), with Swift 5.8 for macOS (SPM) on 22 Aug 2024 11:41:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TwidereProject/MetaTextKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/TwidereProject/MetaTextKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2959963 chore: remove Alamofire
Cloned https://github.com/TwidereProject/MetaTextKit.git
Revision (git rev-parse @):
2959963fbcb77808bd9a167ea35d21e25304c358
SUCCESS checkout https://github.com/TwidereProject/MetaTextKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/TwidereProject/MetaTextKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/77] Copying v3.json
[2/84] Compiling Meta MetaContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[3/84] Compiling Meta Meta+Entity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/84] Emitting module Meta
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/84] Compiling Meta Meta.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/84] Compiling Meta MetaProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/84] Compiling Meta MetaAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/84] Compiling Meta PlaintextMetaContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/84] Compiling SDAnimatedImageView.m
[8/84] Compiling SDAnimatedImageView+WebCache.m
[8/84] Compiling SDAnimatedImageRep.m
[8/84] Compiling NSData+ImageContentType.m
[8/84] Compiling NSButton+WebCache.m
[8/84] Compiling NSImage+Compatibility.m
[8/84] Compiling SDImageIOCoder.m
[8/84] Compiling SDAnimatedImagePlayer.m
[8/84] Compiling SDAnimatedImage.m
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/cezheng/Fuzi.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/1262] Fetching fuzi
[872/30248] Fetching fuzi, alamofire
[3293/55333] Fetching fuzi, alamofire, sdwebimage
Fetched https://github.com/cezheng/Fuzi.git (3.33s)
Fetched https://github.com/Alamofire/Alamofire.git (3.33s)
Fetching https://github.com/nysander/UnicodeURL.git
Fetching https://github.com/TwidereProject/twitter-text.git
Fetched https://github.com/SDWebImage/SDWebImage.git (3.33s)
[1/508] Fetching twitter-text
[22/633] Fetching twitter-text, unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git (1.06s)
Fetched https://github.com/TwidereProject/twitter-text.git (1.06s)
Computing version for https://github.com/TwidereProject/twitter-text.git
Computed https://github.com/TwidereProject/twitter-text.git at 0.0.4 (0.75s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.13.2 (0.78s)
Computing version for https://github.com/cezheng/Fuzi.git
Computed https://github.com/cezheng/Fuzi.git at 3.1.3 (0.80s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.81s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.13.2
Creating working copy for https://github.com/cezheng/Fuzi.git
Working copy of https://github.com/cezheng/Fuzi.git resolved at 3.1.3
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
Creating working copy for https://github.com/TwidereProject/twitter-text.git
Working copy of https://github.com/TwidereProject/twitter-text.git resolved at 0.0.4
BUILD FAILURE 5.8 macosSpm