Build Information
Failed to build ResourcePackage with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1fr3dg/ResourcePackage.git
Reference: master
Cloned https://github.com/1fr3dg/ResourcePackage.git into spi-builder-workspace
SUCCESS checkout https://github.com/1fr3dg/ResourcePackage.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/1Fr3dG/SimpleEncrypter
Fetching https://github.com/1Fr3dG/TextFormater
[1/184] Fetching simpleencrypter
[185/585] Fetching simpleencrypter, textformater
Fetched https://github.com/1Fr3dG/SimpleEncrypter (0.20s)
Fetched https://github.com/1Fr3dG/TextFormater (0.21s)
Computing version for https://github.com/1Fr3dG/SimpleEncrypter
Computed https://github.com/1Fr3dG/SimpleEncrypter at 1.4.1 (0.25s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/12427] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift (1.18s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.15.0 (0.90s)
Computing version for https://github.com/1Fr3dG/TextFormater
Computed https://github.com/1Fr3dG/TextFormater at 1.4.2 (0.26s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.15.0
Creating working copy for https://github.com/1Fr3dG/SimpleEncrypter
Working copy of https://github.com/1Fr3dG/SimpleEncrypter resolved at 1.4.1
Creating working copy for https://github.com/1Fr3dG/TextFormater
Working copy of https://github.com/1Fr3dG/TextFormater resolved at 1.4.2
Building for debugging...
[1/69] Emitting module CryptoSwift
[2/78] Compiling CryptoSwift String+Extension.swift
[3/78] Compiling CryptoSwift UInt128.swift
[4/78] Compiling CryptoSwift UInt16+Extension.swift
[5/78] Compiling CryptoSwift UInt32+Extension.swift
[6/78] Compiling CryptoSwift UInt64+Extension.swift
[7/78] Compiling CryptoSwift UInt8+Extension.swift
[8/78] Compiling CryptoSwift Updatable.swift
[9/78] Compiling CryptoSwift Utils.swift
[10/78] Compiling CryptoSwift ZeroPadding.swift
[11/78] Compiling CryptoSwift BlockEncryptor.swift
[12/78] Compiling CryptoSwift BlockMode.swift
[13/78] Compiling CryptoSwift BlockModeOptions.swift
[14/78] Compiling CryptoSwift CBC.swift
[15/78] Compiling CryptoSwift CCM.swift
[16/78] Compiling CryptoSwift CFB.swift
[17/78] Compiling CryptoSwift CTR.swift
[18/78] Compiling CryptoSwift CipherModeWorker.swift
[19/78] Compiling CryptoSwift ECB.swift
[20/78] Compiling CryptoSwift GCM.swift
[21/78] Compiling CryptoSwift Cryptor.swift
[22/78] Compiling CryptoSwift Cryptors.swift
[23/78] Compiling CryptoSwift Digest.swift
[24/78] Compiling CryptoSwift DigestType.swift
[25/78] Compiling CryptoSwift AES+Foundation.swift
[26/78] Compiling CryptoSwift Array+Foundation.swift
[27/78] Compiling CryptoSwift Blowfish+Foundation.swift
[28/78] Compiling CryptoSwift ChaCha20+Foundation.swift
[29/78] Compiling CryptoSwift Data+Extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/78] Emitting module TextFormater
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:27:37: error: cannot find type 'UIImage' in scope
func getImage(byKey: String) -> UIImage?
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:68:41: error: cannot find type 'UIImage' in scope
func getImage(byKey: String) -> UIImage? {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:104:45: error: cannot find type 'UIFont' in scope
public func setFont(name: String, font: UIFont) {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:120:48: error: cannot find type 'UIColor' in scope
public private(set) var colors : [String : UIColor] = [
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:144:47: error: cannot find type 'UIColor' in scope
public func setColor(name: String, color: UIColor) {
^~~~~~~
[31/78] Compiling TextFormater TextFormater.swift
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:27:37: error: cannot find type 'UIImage' in scope
func getImage(byKey: String) -> UIImage?
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:68:41: error: cannot find type 'UIImage' in scope
func getImage(byKey: String) -> UIImage? {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:104:45: error: cannot find type 'UIFont' in scope
public func setFont(name: String, font: UIFont) {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:120:48: error: cannot find type 'UIColor' in scope
public private(set) var colors : [String : UIColor] = [
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:144:47: error: cannot find type 'UIColor' in scope
public func setColor(name: String, color: UIColor) {
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:105:9: error: cannot find 'fonts' in scope
fonts[name.lowercased()] = font.fontName
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:179:26: error: cannot find 'fonts' in scope
for (name, _) in fonts {
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:204:9: error: cannot find 'fonts' in scope
fonts = f.fonts
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:204:19: error: value of type 'TextFormater' has no member 'fonts'
fonts = f.fonts
~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:205:9: error: cannot find 'normalFontSize' in scope
normalFontSize = f.normalFontSize
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:205:28: error: value of type 'TextFormater' has no member 'normalFontSize'
normalFontSize = f.normalFontSize
~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:60: error: cannot find 'UIFont' in scope
attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:73: error: cannot find 'fonts' in scope
attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:101: error: cannot find 'normalFontSize' in scope
attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:45: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:279:33: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
var _attrDict: [NSAttributedStringKey : Any] = [:]
^~~~~~~~~~~~~~~~~~~~~
NSAttributedString.Key
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
public typealias NSAttributedStringKey = NSAttributedString.Key
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:281:31: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
_attrDict[NSAttributedStringKey(rawValue: key)] = value
^~~~~~~~~~~~~~~~~~~~~
NSAttributedString.Key
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
public typealias NSAttributedStringKey = NSAttributedString.Key
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:309:38: error: cannot find type 'UIFont' in scope
let currentfont: UIFont
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:310:103: error: cannot find type 'UIFont' in scope
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:310:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:320:104: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
_result.append(NSAttributedString(string: "\n", attributes: [NSAttributedStringKey.font: newLineFont]))
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:326:38: error: cannot find 'NSTextAttachment' in scope
let attachment = NSTextAttachment()
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:364:42: error: cannot find type 'UIFont' in scope
let currentFont: UIFont
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:365:107: error: cannot find type 'UIFont' in scope
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:365:88: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:43: error: cannot find 'UIFont' in scope
currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:56: error: cannot find 'fonts' in scope
currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:84: error: cannot find 'normalFontSize' in scope
currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:382:84: error: cannot find 'UIColor' in scope
_attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:382:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
_attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:73: error: cannot find 'UIFont' in scope
_attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:86: error: cannot find 'fonts' in scope
_attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
_attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:384:84: error: cannot find 'UIColor' in scope
_attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:384:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
_attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:386:37: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
var _attrDict: [NSAttributedStringKey : Any] = [:]
^~~~~~~~~~~~~~~~~~~~~
NSAttributedString.Key
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
public typealias NSAttributedStringKey = NSAttributedString.Key
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:388:35: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
_attrDict[NSAttributedStringKey(rawValue: key)] = value
^~~~~~~~~~~~~~~~~~~~~
NSAttributedString.Key
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
public typealias NSAttributedStringKey = NSAttributedString.Key
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:391:54: error: extraneous argument label 'attachment:' in call
_result.append(NSAttributedString(attachment: attachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:395:34: error: cannot find type 'UIFont' in scope
let oldfont: UIFont
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:396:103: error: cannot find type 'UIFont' in scope
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:396:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:406:34: error: cannot find type 'UIFont' in scope
let newfont: UIFont
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:43: error: cannot find 'UIFont' in scope
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: error: no exact matches in call to initializer
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Float' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Double' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'UInt8' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Int8' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'UInt16' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Int16' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'UInt32' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Int32' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'UInt64' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Int64' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'UInt' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: note: candidate expects value of type 'Int' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:412:43: error: cannot find 'UIFont' in scope
newfont = UIFont(name: fontName, size: oldfont.pointSize)!
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:415:39: error: cannot find 'UIFont' in scope
newfont = UIFont(name: fontName, size: oldfont.pointSize)!
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:43: error: cannot find 'UIFont' in scope
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: error: no exact matches in call to initializer
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Float' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Double' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'UInt8' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Int8' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'UInt16' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Int16' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'UInt32' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Int32' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'UInt64' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Int64' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'UInt' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: note: candidate expects value of type 'Int' for parameter #1 (got 'NSNumber')
newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
^
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:429:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
attrs.append((NSAttributedStringKey.font.rawValue, newfont))
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:432:34: error: cannot find type 'UIFont' in scope
let oldfont: UIFont
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:433:103: error: cannot find type 'UIFont' in scope
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:433:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:35: error: cannot find 'UIFont' in scope
oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:48: error: cannot find 'fonts' in scope
oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:76: error: cannot find 'normalFontSize' in scope
oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:447:34: error: cannot find type 'UIFont' in scope
var newfont: UIFont
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:449:52: error: cannot find 'normalFontSize' in scope
newfont = oldfont.withSize(normalFontSize)
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:454:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
attrs.append((NSAttributedStringKey.font.rawValue, newfont))
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:465:39: error: cannot find 'fonts' in scope
newfontname = fonts["boldfont"]!
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:467:39: error: cannot find 'fonts' in scope
newfontname = fonts["italicfont"]!
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:469:40: error: cannot find 'fonts' in scope
if let _font = fonts[_commandName] {
^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:476:38: error: cannot find 'UIFont' in scope
if let newfont = UIFont(name: newfontname, size: oldfontsize) {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:476:70: error: cannot find 'oldfontsize' in scope
if let newfont = UIFont(name: newfontname, size: oldfontsize) {
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:477:61: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
attrs.append((NSAttributedStringKey.font.rawValue, newfont))
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:481:36: error: cannot find 'UIColor' in scope
var newcolor = UIColor.black
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:495:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
attrs.append((NSAttributedStringKey.foregroundColor.rawValue, newcolor))
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:498:36: error: cannot find 'UIColor' in scope
var newcolor = UIColor.black
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:506:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
attrs.append((NSAttributedStringKey.backgroundColor.rawValue, newcolor))
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:509:33: error: cannot find 'NSMutableParagraphStyle' in scope
let style = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:510:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:511:59: error: cannot find type 'NSParagraphStyle' in scope
style.setParagraphStyle(_olds as! NSParagraphStyle)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:524:52: error: cannot infer contextual base in reference to member 'left'
style.alignment = .left
~^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:526:52: error: cannot infer contextual base in reference to member 'center'
style.alignment = .center
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:528:52: error: cannot infer contextual base in reference to member 'right'
style.alignment = .right
~^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:536:48: error: cannot infer contextual base in reference to member 'left'
style.alignment = .left
~^~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:538:48: error: cannot infer contextual base in reference to member 'center'
style.alignment = .center
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:540:48: error: cannot infer contextual base in reference to member 'right'
style.alignment = .right
~^~~~~
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:545:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
attrs.append((NSAttributedStringKey.paragraphStyle.rawValue, style))
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
error: fatalError
[32/78] Compiling CryptoSwift NoPadding.swift
[33/78] Compiling CryptoSwift Operators.swift
[34/78] Compiling CryptoSwift PBKDF1.swift
[35/78] Compiling CryptoSwift PBKDF2.swift
[36/78] Compiling CryptoSwift PKCS5.swift
[37/78] Compiling CryptoSwift PKCS7.swift
[38/78] Compiling CryptoSwift PKCS7Padding.swift
[39/78] Compiling CryptoSwift Padding.swift
[40/78] Compiling CryptoSwift Poly1305.swift
BUILD FAILURE 5.9 linux
Build Machine: Linux 1