The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResourcePackage, reference master (681166), with Swift 6.1 for Wasm on 27 May 2025 16:25:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1fr3dg/ResourcePackage.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/1fr3dg/ResourcePackage
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 681166f change travis to xcode9.2
Cloned https://github.com/1fr3dg/ResourcePackage.git
Revision (git rev-parse @):
681166fb6d1903b4af850bb4e34c4bd877a5ccc0
SUCCESS checkout https://github.com/1fr3dg/ResourcePackage.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/1fr3dg/ResourcePackage.git
https://github.com/1fr3dg/ResourcePackage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "textformater",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1Fr3dG/TextFormater"
    },
    {
      "identity" : "simpleencrypter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1Fr3dG/SimpleEncrypter"
    }
  ],
  "manifest_display_name" : "ResourcePackage",
  "name" : "ResourcePackage",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ResourcePackage",
      "targets" : [
        "ResourcePackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResourcePackage",
      "module_type" : "SwiftTarget",
      "name" : "ResourcePackage",
      "path" : "Sources",
      "product_dependencies" : [
        "SimpleEncrypter",
        "TextFormater"
      ],
      "product_memberships" : [
        "ResourcePackage"
      ],
      "sources" : [
        "ResourcePackage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/1Fr3dG/TextFormater
Fetching https://github.com/1Fr3dG/SimpleEncrypter
[1/184] Fetching simpleencrypter
[173/585] Fetching simpleencrypter, textformater
Fetched https://github.com/1Fr3dG/SimpleEncrypter from cache (0.58s)
Fetched https://github.com/1Fr3dG/TextFormater from cache (0.58s)
Computing version for https://github.com/1Fr3dG/SimpleEncrypter
Computed https://github.com/1Fr3dG/SimpleEncrypter at 1.4.1 (1.37s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.29s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.15.0 (3.64s)
Computing version for https://github.com/1Fr3dG/TextFormater
Computed https://github.com/1Fr3dG/TextFormater at 1.4.2 (0.80s)
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/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.15.0
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...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/74] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[7/83] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[8/83] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[9/83] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[10/83] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[11/83] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[12/83] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[13/83] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[14/83] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[15/83] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[16/83] Compiling CryptoSwift Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[17/83] Compiling CryptoSwift Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[18/83] Compiling CryptoSwift Digest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[19/83] Compiling CryptoSwift DigestType.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[20/83] Compiling CryptoSwift AES+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[21/83] Compiling CryptoSwift Array+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[22/83] Compiling CryptoSwift Blowfish+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[23/83] Compiling CryptoSwift ChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[24/83] Compiling CryptoSwift Data+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[25/83] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[26/83] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[27/83] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[28/83] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[29/83] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[30/83] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[31/83] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[32/83] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[33/83] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[34/83] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[35/83] Compiling CryptoSwift AEAD.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[36/83] Compiling CryptoSwift AEADChaCha20Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[37/83] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[38/83] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[39/83] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[40/83] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[41/83] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[42/83] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[43/83] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[44/83] Compiling CryptoSwift BlockDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[45/83] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[46/83] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[47/83] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[48/83] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[49/83] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[50/83] Compiling CryptoSwift ChaCha20.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[51/83] Compiling CryptoSwift Checksum.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[52/83] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[53/83] Compiling CryptoSwift Collection+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[54/83] Compiling CryptoSwift CompactMap.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[55/83] Compiling CryptoSwift HMAC+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[56/83] Compiling CryptoSwift Rabbit+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[57/83] Compiling CryptoSwift String+FoundationExtension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[58/83] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[59/83] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[60/83] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[61/83] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[62/83] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[63/83] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/83] Emitting module TextFormater
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:27:37: error: cannot find type 'UIImage' in scope
 25 | /// delegation protocol for getting image data (as UIImage)
 26 | public protocol GetImageForTextFormater {
 27 |     func getImage(byKey: String) -> UIImage?
    |                                     `- error: cannot find type 'UIImage' in scope
 28 | }
 29 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:68:41: error: cannot find type 'UIImage' in scope
 66 |     /// Dummy class for image deletation
 67 |     class NilImageDelegate: NSObject, GetImageForTextFormater {
 68 |         func getImage(byKey: String) -> UIImage? {
    |                                         `- error: cannot find type 'UIImage' in scope
 69 |             return nil
 70 |         }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:104:45: error: cannot find type 'UIFont' in scope
102 |     ///     - 对应字体
103 |     ///     - font (size ignored)
104 |     public func setFont(name: String, font: UIFont) {
    |                                             `- error: cannot find type 'UIFont' in scope
105 |         fonts[name.lowercased()] = font.fontName
106 |         setCommand(command: name.lowercased(), squance: "ThemeFont")
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:120:48: error: cannot find type 'UIColor' in scope
118 |     ///
119 |     /// customized colors
120 |     public private(set) var colors : [String : UIColor] = [
    |                                                `- error: cannot find type 'UIColor' in scope
121 |         "defaultColor" : UIColor.black,
122 |         "clear" : UIColor.clear,
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:144:47: error: cannot find type 'UIColor' in scope
142 |     ///     - 对应颜色
143 |     ///     - UIColor
144 |     public func setColor(name: String, color: UIColor) {
    |                                               `- error: cannot find type 'UIColor' in scope
145 |         colors[name.lowercased()] = color
146 |         setCommand(command: name.lowercased(), squance: "ForegroundColor")
[65/83] Compiling TextFormater TextFormater.swift
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:27:37: error: cannot find type 'UIImage' in scope
 25 | /// delegation protocol for getting image data (as UIImage)
 26 | public protocol GetImageForTextFormater {
 27 |     func getImage(byKey: String) -> UIImage?
    |                                     `- error: cannot find type 'UIImage' in scope
 28 | }
 29 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:68:41: error: cannot find type 'UIImage' in scope
 66 |     /// Dummy class for image deletation
 67 |     class NilImageDelegate: NSObject, GetImageForTextFormater {
 68 |         func getImage(byKey: String) -> UIImage? {
    |                                         `- error: cannot find type 'UIImage' in scope
 69 |             return nil
 70 |         }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:104:45: error: cannot find type 'UIFont' in scope
102 |     ///     - 对应字体
103 |     ///     - font (size ignored)
104 |     public func setFont(name: String, font: UIFont) {
    |                                             `- error: cannot find type 'UIFont' in scope
105 |         fonts[name.lowercased()] = font.fontName
106 |         setCommand(command: name.lowercased(), squance: "ThemeFont")
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:120:48: error: cannot find type 'UIColor' in scope
118 |     ///
119 |     /// customized colors
120 |     public private(set) var colors : [String : UIColor] = [
    |                                                `- error: cannot find type 'UIColor' in scope
121 |         "defaultColor" : UIColor.black,
122 |         "clear" : UIColor.clear,
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:144:47: error: cannot find type 'UIColor' in scope
142 |     ///     - 对应颜色
143 |     ///     - UIColor
144 |     public func setColor(name: String, color: UIColor) {
    |                                               `- error: cannot find type 'UIColor' in scope
145 |         colors[name.lowercased()] = color
146 |         setCommand(command: name.lowercased(), squance: "ForegroundColor")
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:105:9: error: cannot find 'fonts' in scope
103 |     ///     - font (size ignored)
104 |     public func setFont(name: String, font: UIFont) {
105 |         fonts[name.lowercased()] = font.fontName
    |         `- error: cannot find 'fonts' in scope
106 |         setCommand(command: name.lowercased(), squance: "ThemeFont")
107 |     }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:179:26: error: cannot find 'fonts' in scope
177 |     override public init () {
178 |         super.init()
179 |         for (name, _) in fonts {
    |                          `- error: cannot find 'fonts' in scope
180 |             setCommand(command: name, squance: "ThemeFont")
181 |         }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:204:9: error: cannot find 'fonts' in scope
202 |         _ce = f._ce
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
    |         `- error: cannot find 'fonts' in scope
205 |         normalFontSize = f.normalFontSize
206 |         colors = f.colors
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:204:19: error: value of type 'TextFormater' has no member 'fonts'
202 |         _ce = f._ce
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
    |                   `- error: value of type 'TextFormater' has no member 'fonts'
205 |         normalFontSize = f.normalFontSize
206 |         colors = f.colors
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:205:9: error: cannot find 'normalFontSize' in scope
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
205 |         normalFontSize = f.normalFontSize
    |         `- error: cannot find 'normalFontSize' in scope
206 |         colors = f.colors
207 |         commandSquance = f.commandSquance
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:205:28: error: value of type 'TextFormater' has no member 'normalFontSize'
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
205 |         normalFontSize = f.normalFontSize
    |                            `- error: value of type 'TextFormater' has no member 'normalFontSize'
206 |         colors = f.colors
207 |         commandSquance = f.commandSquance
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:60: error: cannot find 'UIFont' in scope
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                                            `- error: cannot find 'UIFont' in scope
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:73: error: cannot find 'fonts' in scope
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                                                         `- error: cannot find 'fonts' in scope
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:101: error: cannot find 'normalFontSize' in scope
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                                                                                     `- error: cannot find 'normalFontSize' in scope
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:45: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                             `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:279:33: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
277 |                 // this section is content
278 |                 let _t = (_text as NSString).substring(with: NSRange(location: formatedLocation, length: result.range.location - formatedLocation))
279 |                 var _attrDict: [NSAttributedStringKey : Any] = [:]
    |                                 `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
280 |                 for (key, value) in attrs {
281 |                     _attrDict[NSAttributedStringKey(rawValue: key)] = value
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:281:31: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
279 |                 var _attrDict: [NSAttributedStringKey : Any] = [:]
280 |                 for (key, value) in attrs {
281 |                     _attrDict[NSAttributedStringKey(rawValue: key)] = value
    |                               `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
282 |                 }
283 |                 _result.append(NSAttributedString(string: _t, attributes: _attrDict))
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:309:38: error: cannot find type 'UIFont' in scope
307 |                 case "NewLine":
308 |                     _result.append(NSAttributedString(string: "\n"))
309 |                     let currentfont: UIFont
    |                                      `- error: cannot find type 'UIFont' in scope
310 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
311 |                         currentfont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:310:103: error: cannot find type 'UIFont' in scope
308 |                     _result.append(NSAttributedString(string: "\n"))
309 |                     let currentfont: UIFont
310 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                       `- error: cannot find type 'UIFont' in scope
311 |                         currentfont = _font
312 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:310:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
308 |                     _result.append(NSAttributedString(string: "\n"))
309 |                     let currentfont: UIFont
310 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
311 |                         currentfont = _font
312 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:320:104: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
318 |                     }
319 |                     let newLineFont = currentfont.withSize(currentfont.pointSize / 2)
320 |                     _result.append(NSAttributedString(string: "\n", attributes: [NSAttributedStringKey.font: newLineFont]))
    |                                                                                                        `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
321 |
322 |                 case "Comments":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:326:38: error: cannot find 'NSTextAttachment' in scope
324 |
325 |                 case "Image":
326 |                     let attachment = NSTextAttachment()
    |                                      `- error: cannot find 'NSTextAttachment' in scope
327 |                     if let _imgkey = parameter(in: _command, withKey: "key"),
328 |                         let _img = imageDelegate.getImage(byKey: _imgkey) {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:364:42: error: cannot find type 'UIFont' in scope
362 |
363 |                         // set the attachment
364 |                         let currentFont: UIFont
    |                                          `- error: cannot find type 'UIFont' in scope
365 |                         if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
366 |                             currentFont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:365:107: error: cannot find type 'UIFont' in scope
363 |                         // set the attachment
364 |                         let currentFont: UIFont
365 |                         if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                           `- error: cannot find type 'UIFont' in scope
366 |                             currentFont = _font
367 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:365:88: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
363 |                         // set the attachment
364 |                         let currentFont: UIFont
365 |                         if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                        `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
366 |                             currentFont = _font
367 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:43: error: cannot find 'UIFont' in scope
366 |                             currentFont = _font
367 |                         } else {
368 |                             currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                           `- error: cannot find 'UIFont' in scope
369 |                         }
370 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:56: error: cannot find 'fonts' in scope
366 |                             currentFont = _font
367 |                         } else {
368 |                             currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                        `- error: cannot find 'fonts' in scope
369 |                         }
370 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:84: error: cannot find 'normalFontSize' in scope
366 |                             currentFont = _font
367 |                         } else {
368 |                             currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                                                    `- error: cannot find 'normalFontSize' in scope
369 |                         }
370 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:382:84: error: cannot find 'UIColor' in scope
380 |                     }
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
    |                                                                                    `- error: cannot find 'UIColor' in scope
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.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'
380 |                     }
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
    |                                                          `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:73: error: cannot find 'UIFont' in scope
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
    |                                                                         `- error: cannot find 'UIFont' in scope
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:86: error: cannot find 'fonts' in scope
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
    |                                                                                      `- error: cannot find 'fonts' in scope
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
    |                                                          `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:384:84: error: cannot find 'UIColor' in scope
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
    |                                                                                    `- error: cannot find 'UIColor' in scope
385 |
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:384:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
    |                                                          `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
385 |
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:386:37: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
    |                                     `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
387 |                     for (key, value) in _attrs {
388 |                         _attrDict[NSAttributedStringKey(rawValue: key)] = value
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:388:35: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
387 |                     for (key, value) in _attrs {
388 |                         _attrDict[NSAttributedStringKey(rawValue: key)] = value
    |                                   `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
389 |                     }
390 |                     _result.append(NSAttributedString(string: " ", attributes: _attrDict))
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:391:36: error: no exact matches in call to initializer
389 |                     }
390 |                     _result.append(NSAttributedString(string: " ", attributes: _attrDict))
391 |                     _result.append(NSAttributedString(attachment: attachment))
    |                                    `- error: no exact matches in call to initializer
392 |                     _result.append(NSAttributedString(string: " ", attributes: _attrDict))
393 |
Foundation.NSAttributedString.init:2:8: note: incorrect labels for candidate (have: '(attachment:)', expected: '(string:)')
1 | class NSAttributedString {
2 | public init(string: String)}
  |        `- note: incorrect labels for candidate (have: '(attachment:)', expected: '(string:)')
3 |
Foundation.NSAttributedString.init:2:8: note: incorrect labels for candidate (have: '(attachment:)', expected: '(attributedString:)')
1 | class NSAttributedString {
2 | public init(attributedString: NSAttributedString)}
  |        `- note: incorrect labels for candidate (have: '(attachment:)', expected: '(attributedString:)')
3 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:395:34: error: cannot find type 'UIFont' in scope
393 |
394 |                 case "Font":
395 |                     let oldfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
396 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
397 |                         oldfont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:396:103: error: cannot find type 'UIFont' in scope
394 |                 case "Font":
395 |                     let oldfont: UIFont
396 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                       `- error: cannot find type 'UIFont' in scope
397 |                         oldfont = _font
398 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:396:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
394 |                 case "Font":
395 |                     let oldfont: UIFont
396 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
397 |                         oldfont = _font
398 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:406:34: error: cannot find type 'UIFont' in scope
404 |                     }
405 |
406 |                     let newfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
407 |                     if let fontName = parameter(in: _command, withKey: "name") {
408 |                         if let fontSize = parameter(in: _command, withKey: "size") {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:43: error: cannot find 'UIFont' in scope
408 |                         if let fontSize = parameter(in: _command, withKey: "size") {
409 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
410 |                                 newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
    |                                           `- error: cannot find 'UIFont' in scope
411 |                             } else {
412 |                                 newfont = UIFont(name: fontName, size: oldfont.pointSize)!
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: error: no exact matches in call to initializer
408 |                         if let fontSize = parameter(in: _command, withKey: "size") {
409 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
410 |                                 newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
    |                                                                        |- error: no exact matches in call to initializer
    |                                                                        |- note: candidate expects value of type 'Float' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Double' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt8' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int8' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt16' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int16' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt32' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int32' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt64' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int64' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt' for parameter #1 (got 'NSNumber')
    |                                                                        `- note: candidate expects value of type 'Int' for parameter #1 (got 'NSNumber')
411 |                             } else {
412 |                                 newfont = UIFont(name: fontName, size: oldfont.pointSize)!
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:412:43: error: cannot find 'UIFont' in scope
410 |                                 newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
411 |                             } else {
412 |                                 newfont = UIFont(name: fontName, size: oldfont.pointSize)!
    |                                           `- error: cannot find 'UIFont' in scope
413 |                             }
414 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:415:39: error: cannot find 'UIFont' in scope
413 |                             }
414 |                         } else {
415 |                             newfont = UIFont(name: fontName, size: oldfont.pointSize)!
    |                                       `- error: cannot find 'UIFont' in scope
416 |                         }
417 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:43: error: cannot find 'UIFont' in scope
418 |                         if let fontSize = parameter(in: _command, withKey: "size") {
419 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
420 |                                 newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
    |                                           `- error: cannot find 'UIFont' in scope
421 |                             } else {
422 |                                 newfont = oldfont
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: error: no exact matches in call to initializer
418 |                         if let fontSize = parameter(in: _command, withKey: "size") {
419 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
420 |                                 newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
    |                                                                                |- error: no exact matches in call to initializer
    |                                                                                |- note: candidate expects value of type 'Float' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Double' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt8' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int8' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt16' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int16' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt32' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int32' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt64' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int64' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt' for parameter #1 (got 'NSNumber')
    |                                                                                `- note: candidate expects value of type 'Int' for parameter #1 (got 'NSNumber')
421 |                             } else {
422 |                                 newfont = oldfont
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:429:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
427 |                     }
428 |
429 |                     attrs.append((NSAttributedStringKey.font.rawValue, newfont))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
430 |
431 |                 case "FontSizeAdjust":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:432:34: error: cannot find type 'UIFont' in scope
430 |
431 |                 case "FontSizeAdjust":
432 |                     let oldfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
433 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
434 |                         oldfont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:433:103: error: cannot find type 'UIFont' in scope
431 |                 case "FontSizeAdjust":
432 |                     let oldfont: UIFont
433 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                       `- error: cannot find type 'UIFont' in scope
434 |                         oldfont = _font
435 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:433:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
431 |                 case "FontSizeAdjust":
432 |                     let oldfont: UIFont
433 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
434 |                         oldfont = _font
435 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:35: error: cannot find 'UIFont' in scope
434 |                         oldfont = _font
435 |                     } else {
436 |                         oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                   `- error: cannot find 'UIFont' in scope
437 |                     }
438 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:48: error: cannot find 'fonts' in scope
434 |                         oldfont = _font
435 |                     } else {
436 |                         oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                `- error: cannot find 'fonts' in scope
437 |                     }
438 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:76: error: cannot find 'normalFontSize' in scope
434 |                         oldfont = _font
435 |                     } else {
436 |                         oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                                            `- error: cannot find 'normalFontSize' in scope
437 |                     }
438 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:447:34: error: cannot find type 'UIFont' in scope
445 |                     }
446 |
447 |                     var newfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
448 |                     if _fontsizeadjust == 0 {
449 |                         newfont = oldfont.withSize(normalFontSize)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:449:52: error: cannot find 'normalFontSize' in scope
447 |                     var newfont: UIFont
448 |                     if _fontsizeadjust == 0 {
449 |                         newfont = oldfont.withSize(normalFontSize)
    |                                                    `- error: cannot find 'normalFontSize' in scope
450 |                     } else {
451 |                         newfont = oldfont.withSize(oldfont.pointSize + _fontsizeadjust)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:454:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
452 |                     }
453 |
454 |                     attrs.append((NSAttributedStringKey.font.rawValue, newfont))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
455 |
456 |                 case "ThemeFont":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:465:39: error: cannot find 'fonts' in scope
463 |                     switch _commandName {
464 |                     case "b":
465 |                         newfontname = fonts["boldfont"]!
    |                                       `- error: cannot find 'fonts' in scope
466 |                     case "i":
467 |                         newfontname = fonts["italicfont"]!
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:467:39: error: cannot find 'fonts' in scope
465 |                         newfontname = fonts["boldfont"]!
466 |                     case "i":
467 |                         newfontname = fonts["italicfont"]!
    |                                       `- error: cannot find 'fonts' in scope
468 |                     default:
469 |                         if let _font = fonts[_commandName] {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:469:40: error: cannot find 'fonts' in scope
467 |                         newfontname = fonts["italicfont"]!
468 |                     default:
469 |                         if let _font = fonts[_commandName] {
    |                                        `- error: cannot find 'fonts' in scope
470 |                             newfontname = _font
471 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:476:38: error: cannot find 'UIFont' in scope
474 |                     }
475 |
476 |                     if let newfont = UIFont(name: newfontname, size: oldfontsize) {
    |                                      `- error: cannot find 'UIFont' in scope
477 |                         attrs.append((NSAttributedStringKey.font.rawValue, newfont))
478 |                     }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:476:70: error: cannot find 'oldfontsize' in scope
474 |                     }
475 |
476 |                     if let newfont = UIFont(name: newfontname, size: oldfontsize) {
    |                                                                      `- error: cannot find 'oldfontsize' in scope
477 |                         attrs.append((NSAttributedStringKey.font.rawValue, newfont))
478 |                     }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:477:61: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
475 |
476 |                     if let newfont = UIFont(name: newfontname, size: oldfontsize) {
477 |                         attrs.append((NSAttributedStringKey.font.rawValue, newfont))
    |                                                             `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
478 |                     }
479 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:481:36: error: cannot find 'UIColor' in scope
479 |
480 |                 case "ForegroundColor":
481 |                     var newcolor = UIColor.black
    |                                    `- error: cannot find 'UIColor' in scope
482 |                     if _commandName == "color" {
483 |                         if let _newcolorname = parameter(in: _command, withKey: "name"),
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:495:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
493 |                     }
494 |
495 |                     attrs.append((NSAttributedStringKey.foregroundColor.rawValue, newcolor))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
496 |
497 |                 case "BackgroundColor":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:498:36: error: cannot find 'UIColor' in scope
496 |
497 |                 case "BackgroundColor":
498 |                     var newcolor = UIColor.black
    |                                    `- error: cannot find 'UIColor' in scope
499 |                     if let _newcolorname = parameter(in: _command, withKey: "name"),
500 |                         let _newcolor = colors[_newcolorname] {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:506:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
504 |                     }
505 |
506 |                     attrs.append((NSAttributedStringKey.backgroundColor.rawValue, newcolor))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
507 |
508 |                 case "Alignment":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:509:33: error: cannot find 'NSMutableParagraphStyle' in scope
507 |
508 |                 case "Alignment":
509 |                     let style = NSMutableParagraphStyle()
    |                                 `- error: cannot find 'NSMutableParagraphStyle' in scope
510 |                     if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
511 |                         style.setParagraphStyle(_olds as! NSParagraphStyle)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:510:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
508 |                 case "Alignment":
509 |                     let style = NSMutableParagraphStyle()
510 |                     if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
511 |                         style.setParagraphStyle(_olds as! NSParagraphStyle)
512 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:511:59: error: cannot find type 'NSParagraphStyle' in scope
509 |                     let style = NSMutableParagraphStyle()
510 |                     if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
511 |                         style.setParagraphStyle(_olds as! NSParagraphStyle)
    |                                                           `- error: cannot find type 'NSParagraphStyle' in scope
512 |                     } else {
513 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:524:52: error: cannot infer contextual base in reference to member 'left'
522 |                             switch _position {
523 |                             case "left":
524 |                                 style.alignment = .left
    |                                                    `- error: cannot infer contextual base in reference to member 'left'
525 |                             case "center":
526 |                                 style.alignment = .center
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:526:52: error: cannot infer contextual base in reference to member 'center'
524 |                                 style.alignment = .left
525 |                             case "center":
526 |                                 style.alignment = .center
    |                                                    `- error: cannot infer contextual base in reference to member 'center'
527 |                             case "right":
528 |                                 style.alignment = .right
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:528:52: error: cannot infer contextual base in reference to member 'right'
526 |                                 style.alignment = .center
527 |                             case "right":
528 |                                 style.alignment = .right
    |                                                    `- error: cannot infer contextual base in reference to member 'right'
529 |                             default:
530 |                                 break
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:536:48: error: cannot infer contextual base in reference to member 'left'
534 |                         switch _commandName {
535 |                         case "left":
536 |                             style.alignment = .left
    |                                                `- error: cannot infer contextual base in reference to member 'left'
537 |                         case "center":
538 |                             style.alignment = .center
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:538:48: error: cannot infer contextual base in reference to member 'center'
536 |                             style.alignment = .left
537 |                         case "center":
538 |                             style.alignment = .center
    |                                                `- error: cannot infer contextual base in reference to member 'center'
539 |                         case "right":
540 |                             style.alignment = .right
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:540:48: error: cannot infer contextual base in reference to member 'right'
538 |                             style.alignment = .center
539 |                         case "right":
540 |                             style.alignment = .right
    |                                                `- error: cannot infer contextual base in reference to member 'right'
541 |                         default:
542 |                             break
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:545:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
543 |                         }
544 |                     }
545 |                     attrs.append((NSAttributedStringKey.paragraphStyle.rawValue, style))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
546 |
547 |                 default:
[66/83] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[67/83] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[68/83] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[69/83] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[70/83] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[71/83] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[72/83] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[73/83] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[74/83] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[75/83] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[76/83] Compiling CryptoSwift RandomBytesSequence.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[77/83] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[78/83] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[79/83] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[80/83] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[81/83] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[82/83] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[83/83] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/70] Compiling CryptoSwift Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[3/70] Compiling CryptoSwift Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[4/70] Compiling CryptoSwift Digest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[5/70] Compiling CryptoSwift DigestType.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[6/70] Compiling CryptoSwift AES+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[7/70] Compiling CryptoSwift Array+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[8/70] Compiling CryptoSwift Blowfish+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[9/70] Compiling CryptoSwift ChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[10/70] Compiling CryptoSwift Data+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/79] Emitting module TextFormater
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:27:37: error: cannot find type 'UIImage' in scope
 25 | /// delegation protocol for getting image data (as UIImage)
 26 | public protocol GetImageForTextFormater {
 27 |     func getImage(byKey: String) -> UIImage?
    |                                     `- error: cannot find type 'UIImage' in scope
 28 | }
 29 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:68:41: error: cannot find type 'UIImage' in scope
 66 |     /// Dummy class for image deletation
 67 |     class NilImageDelegate: NSObject, GetImageForTextFormater {
 68 |         func getImage(byKey: String) -> UIImage? {
    |                                         `- error: cannot find type 'UIImage' in scope
 69 |             return nil
 70 |         }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:104:45: error: cannot find type 'UIFont' in scope
102 |     ///     - 对应字体
103 |     ///     - font (size ignored)
104 |     public func setFont(name: String, font: UIFont) {
    |                                             `- error: cannot find type 'UIFont' in scope
105 |         fonts[name.lowercased()] = font.fontName
106 |         setCommand(command: name.lowercased(), squance: "ThemeFont")
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:120:48: error: cannot find type 'UIColor' in scope
118 |     ///
119 |     /// customized colors
120 |     public private(set) var colors : [String : UIColor] = [
    |                                                `- error: cannot find type 'UIColor' in scope
121 |         "defaultColor" : UIColor.black,
122 |         "clear" : UIColor.clear,
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:144:47: error: cannot find type 'UIColor' in scope
142 |     ///     - 对应颜色
143 |     ///     - UIColor
144 |     public func setColor(name: String, color: UIColor) {
    |                                               `- error: cannot find type 'UIColor' in scope
145 |         colors[name.lowercased()] = color
146 |         setCommand(command: name.lowercased(), squance: "ForegroundColor")
[12/79] Compiling TextFormater TextFormater.swift
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:27:37: error: cannot find type 'UIImage' in scope
 25 | /// delegation protocol for getting image data (as UIImage)
 26 | public protocol GetImageForTextFormater {
 27 |     func getImage(byKey: String) -> UIImage?
    |                                     `- error: cannot find type 'UIImage' in scope
 28 | }
 29 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:68:41: error: cannot find type 'UIImage' in scope
 66 |     /// Dummy class for image deletation
 67 |     class NilImageDelegate: NSObject, GetImageForTextFormater {
 68 |         func getImage(byKey: String) -> UIImage? {
    |                                         `- error: cannot find type 'UIImage' in scope
 69 |             return nil
 70 |         }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:104:45: error: cannot find type 'UIFont' in scope
102 |     ///     - 对应字体
103 |     ///     - font (size ignored)
104 |     public func setFont(name: String, font: UIFont) {
    |                                             `- error: cannot find type 'UIFont' in scope
105 |         fonts[name.lowercased()] = font.fontName
106 |         setCommand(command: name.lowercased(), squance: "ThemeFont")
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:120:48: error: cannot find type 'UIColor' in scope
118 |     ///
119 |     /// customized colors
120 |     public private(set) var colors : [String : UIColor] = [
    |                                                `- error: cannot find type 'UIColor' in scope
121 |         "defaultColor" : UIColor.black,
122 |         "clear" : UIColor.clear,
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:144:47: error: cannot find type 'UIColor' in scope
142 |     ///     - 对应颜色
143 |     ///     - UIColor
144 |     public func setColor(name: String, color: UIColor) {
    |                                               `- error: cannot find type 'UIColor' in scope
145 |         colors[name.lowercased()] = color
146 |         setCommand(command: name.lowercased(), squance: "ForegroundColor")
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:105:9: error: cannot find 'fonts' in scope
103 |     ///     - font (size ignored)
104 |     public func setFont(name: String, font: UIFont) {
105 |         fonts[name.lowercased()] = font.fontName
    |         `- error: cannot find 'fonts' in scope
106 |         setCommand(command: name.lowercased(), squance: "ThemeFont")
107 |     }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:179:26: error: cannot find 'fonts' in scope
177 |     override public init () {
178 |         super.init()
179 |         for (name, _) in fonts {
    |                          `- error: cannot find 'fonts' in scope
180 |             setCommand(command: name, squance: "ThemeFont")
181 |         }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:204:9: error: cannot find 'fonts' in scope
202 |         _ce = f._ce
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
    |         `- error: cannot find 'fonts' in scope
205 |         normalFontSize = f.normalFontSize
206 |         colors = f.colors
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:204:19: error: value of type 'TextFormater' has no member 'fonts'
202 |         _ce = f._ce
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
    |                   `- error: value of type 'TextFormater' has no member 'fonts'
205 |         normalFontSize = f.normalFontSize
206 |         colors = f.colors
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:205:9: error: cannot find 'normalFontSize' in scope
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
205 |         normalFontSize = f.normalFontSize
    |         `- error: cannot find 'normalFontSize' in scope
206 |         colors = f.colors
207 |         commandSquance = f.commandSquance
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:205:28: error: value of type 'TextFormater' has no member 'normalFontSize'
203 |         defaultFormat = f.defaultFormat
204 |         fonts = f.fonts
205 |         normalFontSize = f.normalFontSize
    |                            `- error: value of type 'TextFormater' has no member 'normalFontSize'
206 |         colors = f.colors
207 |         commandSquance = f.commandSquance
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:60: error: cannot find 'UIFont' in scope
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                                            `- error: cannot find 'UIFont' in scope
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:73: error: cannot find 'fonts' in scope
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                                                         `- error: cannot find 'fonts' in scope
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:101: error: cannot find 'normalFontSize' in scope
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                                                                                     `- error: cannot find 'normalFontSize' in scope
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:273:45: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
271 |         var formatedLocation = 0
272 |         var attrs: [(String, Any)] = []
273 |         attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: normalFontSize) as Any))
    |                                             `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
274 |         for result in regular.matches(in: _text, options: .reportProgress, range: NSMakeRange(0, _text.utf16.count)) {
275 |             if formatedLocation < result.range.location {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:279:33: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
277 |                 // this section is content
278 |                 let _t = (_text as NSString).substring(with: NSRange(location: formatedLocation, length: result.range.location - formatedLocation))
279 |                 var _attrDict: [NSAttributedStringKey : Any] = [:]
    |                                 `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
280 |                 for (key, value) in attrs {
281 |                     _attrDict[NSAttributedStringKey(rawValue: key)] = value
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:281:31: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
279 |                 var _attrDict: [NSAttributedStringKey : Any] = [:]
280 |                 for (key, value) in attrs {
281 |                     _attrDict[NSAttributedStringKey(rawValue: key)] = value
    |                               `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
282 |                 }
283 |                 _result.append(NSAttributedString(string: _t, attributes: _attrDict))
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:309:38: error: cannot find type 'UIFont' in scope
307 |                 case "NewLine":
308 |                     _result.append(NSAttributedString(string: "\n"))
309 |                     let currentfont: UIFont
    |                                      `- error: cannot find type 'UIFont' in scope
310 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
311 |                         currentfont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:310:103: error: cannot find type 'UIFont' in scope
308 |                     _result.append(NSAttributedString(string: "\n"))
309 |                     let currentfont: UIFont
310 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                       `- error: cannot find type 'UIFont' in scope
311 |                         currentfont = _font
312 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:310:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
308 |                     _result.append(NSAttributedString(string: "\n"))
309 |                     let currentfont: UIFont
310 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
311 |                         currentfont = _font
312 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:320:104: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
318 |                     }
319 |                     let newLineFont = currentfont.withSize(currentfont.pointSize / 2)
320 |                     _result.append(NSAttributedString(string: "\n", attributes: [NSAttributedStringKey.font: newLineFont]))
    |                                                                                                        `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
321 |
322 |                 case "Comments":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:326:38: error: cannot find 'NSTextAttachment' in scope
324 |
325 |                 case "Image":
326 |                     let attachment = NSTextAttachment()
    |                                      `- error: cannot find 'NSTextAttachment' in scope
327 |                     if let _imgkey = parameter(in: _command, withKey: "key"),
328 |                         let _img = imageDelegate.getImage(byKey: _imgkey) {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:364:42: error: cannot find type 'UIFont' in scope
362 |
363 |                         // set the attachment
364 |                         let currentFont: UIFont
    |                                          `- error: cannot find type 'UIFont' in scope
365 |                         if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
366 |                             currentFont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:365:107: error: cannot find type 'UIFont' in scope
363 |                         // set the attachment
364 |                         let currentFont: UIFont
365 |                         if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                           `- error: cannot find type 'UIFont' in scope
366 |                             currentFont = _font
367 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:365:88: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
363 |                         // set the attachment
364 |                         let currentFont: UIFont
365 |                         if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                        `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
366 |                             currentFont = _font
367 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:43: error: cannot find 'UIFont' in scope
366 |                             currentFont = _font
367 |                         } else {
368 |                             currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                           `- error: cannot find 'UIFont' in scope
369 |                         }
370 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:56: error: cannot find 'fonts' in scope
366 |                             currentFont = _font
367 |                         } else {
368 |                             currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                        `- error: cannot find 'fonts' in scope
369 |                         }
370 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:368:84: error: cannot find 'normalFontSize' in scope
366 |                             currentFont = _font
367 |                         } else {
368 |                             currentFont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                                                    `- error: cannot find 'normalFontSize' in scope
369 |                         }
370 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:382:84: error: cannot find 'UIColor' in scope
380 |                     }
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
    |                                                                                    `- error: cannot find 'UIColor' in scope
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.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'
380 |                     }
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
    |                                                          `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:73: error: cannot find 'UIFont' in scope
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
    |                                                                         `- error: cannot find 'UIFont' in scope
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:86: error: cannot find 'fonts' in scope
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
    |                                                                                      `- error: cannot find 'fonts' in scope
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:383:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
381 |                     var _attrs = attrs
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
    |                                                          `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:384:84: error: cannot find 'UIColor' in scope
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
    |                                                                                    `- error: cannot find 'UIColor' in scope
385 |
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:384:58: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
382 |                     _attrs.append((NSAttributedStringKey.foregroundColor.rawValue, UIColor.clear))
383 |                     _attrs.append((NSAttributedStringKey.font.rawValue, UIFont(name: fonts["normalfont"]!, size: 1)!))
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
    |                                                          `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
385 |
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:386:37: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
384 |                     _attrs.append((NSAttributedStringKey.backgroundColor.rawValue, UIColor.clear))
385 |
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
    |                                     `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
387 |                     for (key, value) in _attrs {
388 |                         _attrDict[NSAttributedStringKey(rawValue: key)] = value
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:388:35: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
386 |                     var _attrDict: [NSAttributedStringKey : Any] = [:]
387 |                     for (key, value) in _attrs {
388 |                         _attrDict[NSAttributedStringKey(rawValue: key)] = value
    |                                   `- error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'
389 |                     }
390 |                     _result.append(NSAttributedString(string: " ", attributes: _attrDict))
Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' has been explicitly marked unavailable here
1 | @available(*, unavailable, renamed: "NSAttributedString.Key")
2 | public typealias NSAttributedStringKey = NSAttributedString.Key
  |                  `- note: 'NSAttributedStringKey' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:391:36: error: no exact matches in call to initializer
389 |                     }
390 |                     _result.append(NSAttributedString(string: " ", attributes: _attrDict))
391 |                     _result.append(NSAttributedString(attachment: attachment))
    |                                    `- error: no exact matches in call to initializer
392 |                     _result.append(NSAttributedString(string: " ", attributes: _attrDict))
393 |
Foundation.NSAttributedString.init:2:8: note: incorrect labels for candidate (have: '(attachment:)', expected: '(string:)')
1 | class NSAttributedString {
2 | public init(string: String)}
  |        `- note: incorrect labels for candidate (have: '(attachment:)', expected: '(string:)')
3 |
Foundation.NSAttributedString.init:2:8: note: incorrect labels for candidate (have: '(attachment:)', expected: '(attributedString:)')
1 | class NSAttributedString {
2 | public init(attributedString: NSAttributedString)}
  |        `- note: incorrect labels for candidate (have: '(attachment:)', expected: '(attributedString:)')
3 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:395:34: error: cannot find type 'UIFont' in scope
393 |
394 |                 case "Font":
395 |                     let oldfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
396 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
397 |                         oldfont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:396:103: error: cannot find type 'UIFont' in scope
394 |                 case "Font":
395 |                     let oldfont: UIFont
396 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                       `- error: cannot find type 'UIFont' in scope
397 |                         oldfont = _font
398 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:396:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
394 |                 case "Font":
395 |                     let oldfont: UIFont
396 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
397 |                         oldfont = _font
398 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:406:34: error: cannot find type 'UIFont' in scope
404 |                     }
405 |
406 |                     let newfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
407 |                     if let fontName = parameter(in: _command, withKey: "name") {
408 |                         if let fontSize = parameter(in: _command, withKey: "size") {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:43: error: cannot find 'UIFont' in scope
408 |                         if let fontSize = parameter(in: _command, withKey: "size") {
409 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
410 |                                 newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
    |                                           `- error: cannot find 'UIFont' in scope
411 |                             } else {
412 |                                 newfont = UIFont(name: fontName, size: oldfont.pointSize)!
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:410:72: error: no exact matches in call to initializer
408 |                         if let fontSize = parameter(in: _command, withKey: "size") {
409 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
410 |                                 newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
    |                                                                        |- error: no exact matches in call to initializer
    |                                                                        |- note: candidate expects value of type 'Float' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Double' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt8' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int8' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt16' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int16' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt32' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int32' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt64' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'Int64' for parameter #1 (got 'NSNumber')
    |                                                                        |- note: candidate expects value of type 'UInt' for parameter #1 (got 'NSNumber')
    |                                                                        `- note: candidate expects value of type 'Int' for parameter #1 (got 'NSNumber')
411 |                             } else {
412 |                                 newfont = UIFont(name: fontName, size: oldfont.pointSize)!
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:412:43: error: cannot find 'UIFont' in scope
410 |                                 newfont = UIFont(name: fontName, size: CGFloat(truncating: _fontsize))!
411 |                             } else {
412 |                                 newfont = UIFont(name: fontName, size: oldfont.pointSize)!
    |                                           `- error: cannot find 'UIFont' in scope
413 |                             }
414 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:415:39: error: cannot find 'UIFont' in scope
413 |                             }
414 |                         } else {
415 |                             newfont = UIFont(name: fontName, size: oldfont.pointSize)!
    |                                       `- error: cannot find 'UIFont' in scope
416 |                         }
417 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:43: error: cannot find 'UIFont' in scope
418 |                         if let fontSize = parameter(in: _command, withKey: "size") {
419 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
420 |                                 newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
    |                                           `- error: cannot find 'UIFont' in scope
421 |                             } else {
422 |                                 newfont = oldfont
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:420:80: error: no exact matches in call to initializer
418 |                         if let fontSize = parameter(in: _command, withKey: "size") {
419 |                             if let _fontsize = NumberFormatter().number(from: fontSize) {
420 |                                 newfont = UIFont(name: oldfont.fontName, size: CGFloat(truncating: _fontsize))!
    |                                                                                |- error: no exact matches in call to initializer
    |                                                                                |- note: candidate expects value of type 'Float' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Double' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt8' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int8' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt16' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int16' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt32' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int32' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt64' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'Int64' for parameter #1 (got 'NSNumber')
    |                                                                                |- note: candidate expects value of type 'UInt' for parameter #1 (got 'NSNumber')
    |                                                                                `- note: candidate expects value of type 'Int' for parameter #1 (got 'NSNumber')
421 |                             } else {
422 |                                 newfont = oldfont
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:429:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
427 |                     }
428 |
429 |                     attrs.append((NSAttributedStringKey.font.rawValue, newfont))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
430 |
431 |                 case "FontSizeAdjust":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:432:34: error: cannot find type 'UIFont' in scope
430 |
431 |                 case "FontSizeAdjust":
432 |                     let oldfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
433 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
434 |                         oldfont = _font
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:433:103: error: cannot find type 'UIFont' in scope
431 |                 case "FontSizeAdjust":
432 |                     let oldfont: UIFont
433 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                                       `- error: cannot find type 'UIFont' in scope
434 |                         oldfont = _font
435 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:433:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
431 |                 case "FontSizeAdjust":
432 |                     let oldfont: UIFont
433 |                     if let _font = lastAttr(in: attrs, with: NSAttributedStringKey.font.rawValue) as? UIFont{
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
434 |                         oldfont = _font
435 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:35: error: cannot find 'UIFont' in scope
434 |                         oldfont = _font
435 |                     } else {
436 |                         oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                   `- error: cannot find 'UIFont' in scope
437 |                     }
438 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:48: error: cannot find 'fonts' in scope
434 |                         oldfont = _font
435 |                     } else {
436 |                         oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                `- error: cannot find 'fonts' in scope
437 |                     }
438 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:436:76: error: cannot find 'normalFontSize' in scope
434 |                         oldfont = _font
435 |                     } else {
436 |                         oldfont = UIFont(name: fonts["normalfont"]!, size: normalFontSize)!
    |                                                                            `- error: cannot find 'normalFontSize' in scope
437 |                     }
438 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:447:34: error: cannot find type 'UIFont' in scope
445 |                     }
446 |
447 |                     var newfont: UIFont
    |                                  `- error: cannot find type 'UIFont' in scope
448 |                     if _fontsizeadjust == 0 {
449 |                         newfont = oldfont.withSize(normalFontSize)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:449:52: error: cannot find 'normalFontSize' in scope
447 |                     var newfont: UIFont
448 |                     if _fontsizeadjust == 0 {
449 |                         newfont = oldfont.withSize(normalFontSize)
    |                                                    `- error: cannot find 'normalFontSize' in scope
450 |                     } else {
451 |                         newfont = oldfont.withSize(oldfont.pointSize + _fontsizeadjust)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:454:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
452 |                     }
453 |
454 |                     attrs.append((NSAttributedStringKey.font.rawValue, newfont))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
455 |
456 |                 case "ThemeFont":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:465:39: error: cannot find 'fonts' in scope
463 |                     switch _commandName {
464 |                     case "b":
465 |                         newfontname = fonts["boldfont"]!
    |                                       `- error: cannot find 'fonts' in scope
466 |                     case "i":
467 |                         newfontname = fonts["italicfont"]!
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:467:39: error: cannot find 'fonts' in scope
465 |                         newfontname = fonts["boldfont"]!
466 |                     case "i":
467 |                         newfontname = fonts["italicfont"]!
    |                                       `- error: cannot find 'fonts' in scope
468 |                     default:
469 |                         if let _font = fonts[_commandName] {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:469:40: error: cannot find 'fonts' in scope
467 |                         newfontname = fonts["italicfont"]!
468 |                     default:
469 |                         if let _font = fonts[_commandName] {
    |                                        `- error: cannot find 'fonts' in scope
470 |                             newfontname = _font
471 |                         } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:476:38: error: cannot find 'UIFont' in scope
474 |                     }
475 |
476 |                     if let newfont = UIFont(name: newfontname, size: oldfontsize) {
    |                                      `- error: cannot find 'UIFont' in scope
477 |                         attrs.append((NSAttributedStringKey.font.rawValue, newfont))
478 |                     }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:476:70: error: cannot find 'oldfontsize' in scope
474 |                     }
475 |
476 |                     if let newfont = UIFont(name: newfontname, size: oldfontsize) {
    |                                                                      `- error: cannot find 'oldfontsize' in scope
477 |                         attrs.append((NSAttributedStringKey.font.rawValue, newfont))
478 |                     }
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:477:61: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
475 |
476 |                     if let newfont = UIFont(name: newfontname, size: oldfontsize) {
477 |                         attrs.append((NSAttributedStringKey.font.rawValue, newfont))
    |                                                             `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'font'
478 |                     }
479 |
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:481:36: error: cannot find 'UIColor' in scope
479 |
480 |                 case "ForegroundColor":
481 |                     var newcolor = UIColor.black
    |                                    `- error: cannot find 'UIColor' in scope
482 |                     if _commandName == "color" {
483 |                         if let _newcolorname = parameter(in: _command, withKey: "name"),
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:495:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
493 |                     }
494 |
495 |                     attrs.append((NSAttributedStringKey.foregroundColor.rawValue, newcolor))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'foregroundColor'
496 |
497 |                 case "BackgroundColor":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:498:36: error: cannot find 'UIColor' in scope
496 |
497 |                 case "BackgroundColor":
498 |                     var newcolor = UIColor.black
    |                                    `- error: cannot find 'UIColor' in scope
499 |                     if let _newcolorname = parameter(in: _command, withKey: "name"),
500 |                         let _newcolor = colors[_newcolorname] {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:506:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
504 |                     }
505 |
506 |                     attrs.append((NSAttributedStringKey.backgroundColor.rawValue, newcolor))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'backgroundColor'
507 |
508 |                 case "Alignment":
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:509:33: error: cannot find 'NSMutableParagraphStyle' in scope
507 |
508 |                 case "Alignment":
509 |                     let style = NSMutableParagraphStyle()
    |                                 `- error: cannot find 'NSMutableParagraphStyle' in scope
510 |                     if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
511 |                         style.setParagraphStyle(_olds as! NSParagraphStyle)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:510:84: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
508 |                 case "Alignment":
509 |                     let style = NSMutableParagraphStyle()
510 |                     if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
    |                                                                                    `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
511 |                         style.setParagraphStyle(_olds as! NSParagraphStyle)
512 |                     } else {
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:511:59: error: cannot find type 'NSParagraphStyle' in scope
509 |                     let style = NSMutableParagraphStyle()
510 |                     if let _olds = lastAttr(in: attrs, with: NSAttributedStringKey.paragraphStyle.rawValue) {
511 |                         style.setParagraphStyle(_olds as! NSParagraphStyle)
    |                                                           `- error: cannot find type 'NSParagraphStyle' in scope
512 |                     } else {
513 |                         #if os(iOS)
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:524:52: error: cannot infer contextual base in reference to member 'left'
522 |                             switch _position {
523 |                             case "left":
524 |                                 style.alignment = .left
    |                                                    `- error: cannot infer contextual base in reference to member 'left'
525 |                             case "center":
526 |                                 style.alignment = .center
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:526:52: error: cannot infer contextual base in reference to member 'center'
524 |                                 style.alignment = .left
525 |                             case "center":
526 |                                 style.alignment = .center
    |                                                    `- error: cannot infer contextual base in reference to member 'center'
527 |                             case "right":
528 |                                 style.alignment = .right
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:528:52: error: cannot infer contextual base in reference to member 'right'
526 |                                 style.alignment = .center
527 |                             case "right":
528 |                                 style.alignment = .right
    |                                                    `- error: cannot infer contextual base in reference to member 'right'
529 |                             default:
530 |                                 break
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:536:48: error: cannot infer contextual base in reference to member 'left'
534 |                         switch _commandName {
535 |                         case "left":
536 |                             style.alignment = .left
    |                                                `- error: cannot infer contextual base in reference to member 'left'
537 |                         case "center":
538 |                             style.alignment = .center
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:538:48: error: cannot infer contextual base in reference to member 'center'
536 |                             style.alignment = .left
537 |                         case "center":
538 |                             style.alignment = .center
    |                                                `- error: cannot infer contextual base in reference to member 'center'
539 |                         case "right":
540 |                             style.alignment = .right
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:540:48: error: cannot infer contextual base in reference to member 'right'
538 |                             style.alignment = .center
539 |                         case "right":
540 |                             style.alignment = .right
    |                                                `- error: cannot infer contextual base in reference to member 'right'
541 |                         default:
542 |                             break
/host/spi-builder-workspace/.build/checkouts/TextFormater/Sources/TextFormater.swift:545:57: error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
543 |                         }
544 |                     }
545 |                     attrs.append((NSAttributedStringKey.paragraphStyle.rawValue, style))
    |                                                         `- error: type 'NSAttributedStringKey' (aka 'NSAttributedString.Key') has no member 'paragraphStyle'
546 |
547 |                 default:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/79] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
BUILD FAILURE 6.1 wasm