The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cache with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyperoslo/Cache.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/hyperoslo/Cache
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f44a8f6 Update Cache.podspec
Cloned https://github.com/hyperoslo/Cache.git
Revision (git rev-parse @):
f44a8f6b5ec27730198725ccc542fef0d1cc6b3d
SUCCESS checkout https://github.com/hyperoslo/Cache.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/hyperoslo/Cache.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/iOS/Info.plist
    /host/spi-builder-workspace/Tests/Mac/Info.plist
    /host/spi-builder-workspace/Tests/tvOS/Info.plist
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] Emitting module Cache
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
[5/40] Compiling Cache MD5.swift
[6/40] Compiling Cache MemoryCapsule.swift
[7/40] Compiling Cache ObservationToken.swift
[8/40] Compiling Cache Optional+Extension.swift
[9/40] Compiling Cache StorageError.swift
[10/40] Compiling Cache StorageObservationRegistry.swift
[11/40] Compiling Cache SyncStorage.swift
[12/40] Compiling Cache UIImage+Extensions.swift
[13/40] Compiling Cache resource_bundle_accessor.swift
[14/40] Compiling Cache AsyncStorage.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[15/40] Compiling Cache DiskStorage.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[16/40] Compiling Cache HybridStorage.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[17/40] Compiling Cache KeyObservationRegistry.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[18/40] Compiling Cache ExpirationMode.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[19/40] Compiling Cache Expiry.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[20/40] Compiling Cache ImageWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[21/40] Compiling Cache JSONArrayWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[22/40] Compiling Cache JSONDictionaryWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[23/40] Compiling Cache Hasher+constantAccrossExecutions.swift
[24/40] Compiling Cache JSONDecoder+Extensions.swift
[25/40] Compiling Cache URL+Extensions.swift
[26/40] Compiling Cache DataSerializer.swift
[27/40] Compiling Cache Entry.swift
[28/40] Compiling Cache NSImage+Extensions.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[29/40] Compiling Cache DiskConfig.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[30/40] Compiling Cache MemoryConfig.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[31/40] Compiling Cache Date+Extensions.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[32/40] Compiling Cache FileManager+Extensions.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[33/40] Compiling Cache Transformer.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[34/40] Compiling Cache TransformerFactory.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[35/40] Compiling Cache TypeWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[36/40] Compiling Cache Types.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[37/40] Compiling Cache MemoryStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
    let storage = transform(transformer: TransformerFactory.forImage())
                  ^
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
  func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
       ^
[38/40] Compiling Cache Storage+Transform.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
    let storage = transform(transformer: TransformerFactory.forImage())
                  ^
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
  func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
       ^
[39/40] Compiling Cache Storage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
    let storage = transform(transformer: TransformerFactory.forImage())
                  ^
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
  func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
       ^
[40/40] Compiling Cache StorageAware.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
    let storage = transform(transformer: TransformerFactory.forImage())
                  ^
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
  func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
       ^
error: fatalError
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/iOS/Info.plist
    /host/spi-builder-workspace/Tests/Mac/Info.plist
    /host/spi-builder-workspace/Tests/tvOS/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling Cache NSImage+Extensions.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[3/22] Compiling Cache DiskConfig.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[4/22] Compiling Cache MemoryConfig.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
[5/24] Compiling Cache JSONDictionaryWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[6/24] Compiling Cache Transformer.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[7/24] Compiling Cache TransformerFactory.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
    let toData: (Image) throws -> Data = { image in
                 ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
    let fromData: (Data) throws -> Image = { data in
                                   ^~~~~
[8/24] Compiling Cache Expiry.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[9/24] Compiling Cache ImageWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
[10/24] Compiling Cache JSONArrayWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
    guard let image = Image(data: data) else {
                      ^~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/24] Emitting module Cache
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:18:31: error: cannot find type 'FileProtectionType' in scope
              protectionType: FileProtectionType? = nil) {
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
  public let image: Image
                    ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
  public init(image: Image) {
                     ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
[12/24] Compiling Cache Date+Extensions.swift
[13/24] Compiling Cache FileManager+Extensions.swift
[14/24] Compiling Cache ExpirationMode.swift
[15/27] Compiling Cache MemoryStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
    let storage = transform(transformer: TransformerFactory.forImage())
                  ^
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
  func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
       ^
[16/27] Compiling Cache Storage+Transform.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
  func transformImage() -> Storage<Key, Image> {
                                        ^~~~~
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
  public static func forImage() -> Transformer<Image> {
                                               ^~~~~
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
    let storage = transform(transformer: TransformerFactory.forImage())
                  ^
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
  func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
       ^
[17/27] Compiling Cache Storage.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
[18/27] Compiling Cache StorageAware.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
[19/27] Compiling Cache TypeWrapper.swift
[20/27] Compiling Cache Types.swift
[21/27] Compiling Cache AsyncStorage.swift
[22/27] Compiling Cache DiskStorage.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[23/27] Compiling Cache HybridStorage.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[24/27] Compiling Cache KeyObservationRegistry.swift
/host/spi-builder-workspace/Source/Shared/Configuration/DiskConfig.swift:14:30: error: cannot find type 'FileProtectionType' in scope
  public let protectionType: FileProtectionType?
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Shared/Storage/DiskStorage.swift:44:26: error: type 'FileAttributeKey' has no member 'protectionKey'
        FileAttributeKey.protectionKey: protectionType
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[25/27] Compiling Cache MemoryCapsule.swift
[26/27] Compiling Cache SyncStorage.swift
[27/27] Compiling Cache Entry.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2