Build Information
Failed to build MetaTextKit, reference main (295996
), with Swift 5.9 for macOS (SPM) on 22 Aug 2024 11:25:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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.9
Building package at path: $PWD
https://github.com/TwidereProject/MetaTextKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/77] Copying v3.json
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/84] Emitting module Meta
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/84] Compiling Meta PlaintextMetaContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/84] Compiling Meta Meta.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/84] Compiling Meta MetaAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/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
^
[7/84] Compiling Meta MetaProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/84] Compiling Meta MetaContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Meta/MetaAttachment.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[8/84] Compiling SDAnimatedImageRep.m
[8/84] Compiling SDDiskCache.m
[8/84] Compiling SDAnimatedImageView+WebCache.m
[8/84] Compiling NSButton+WebCache.m
[8/84] Compiling SDAnimatedImagePlayer.m
[8/84] Compiling SDAnimatedImage.m
[8/84] Compiling NSData+ImageContentType.m
[8/84] Compiling NSImage+Compatibility.m
[8/84] Compiling SDAnimatedImageView.m
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/cezheng/Fuzi.git
[1/1262] Fetching fuzi
[1175/30248] Fetching fuzi, alamofire
[3582/55333] Fetching fuzi, alamofire, sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git (3.41s)
Fetched https://github.com/Alamofire/Alamofire.git (3.41s)
Fetching https://github.com/TwidereProject/twitter-text.git
Fetched https://github.com/cezheng/Fuzi.git (3.41s)
Fetching https://github.com/nysander/UnicodeURL.git
[1/125] Fetching unicodeurl
[24/633] Fetching unicodeurl, twitter-text
Fetched https://github.com/TwidereProject/twitter-text.git (1.05s)
Fetched https://github.com/nysander/UnicodeURL.git (1.05s)
Computing version for https://github.com/TwidereProject/twitter-text.git
Computed https://github.com/TwidereProject/twitter-text.git at 0.0.4 (0.60s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.13.2 (0.59s)
Computing version for https://github.com/cezheng/Fuzi.git
Computed https://github.com/cezheng/Fuzi.git at 3.1.3 (0.59s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.58s)
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
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
BUILD FAILURE 5.9 macosSpm