Build Information
Failed to build Cache, reference 7.4.0 (24e471
), with Swift 5.10 for Linux on 27 Aug 2024 18:32:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyperoslo/Cache.git
Reference: 7.4.0
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
* tag 7.4.0 -> FETCH_HEAD
HEAD is now at 24e4710 Merge pull request #304 from boduoduo/fix/sortedIssue
Cloned https://github.com/hyperoslo/Cache.git
Revision (git rev-parse @):
24e47109e31b2031cb26e25cc1b81b607496066c
SUCCESS checkout https://github.com/hyperoslo/Cache.git at 7.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/hyperoslo/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
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/Mac/Info.plist
/host/spi-builder-workspace/Tests/tvOS/Info.plist
/host/spi-builder-workspace/Tests/iOS/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 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 {
^~~~~
[6/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 {
^~~~~
[7/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 {
^~~~~
[8/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 {
^~~~~
[9/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 {
^~~~~
[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 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) {
^~~~~~~~~~~~~~~~~~
[15/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) {
^~~~~~~~~~~~~~~~~~
[16/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) {
^~~~~~~~~~~~~~~~~~
[17/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) {
^~~~~~~~~~~~~~~~~~
[18/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) {
^~~~~~~~~~~~~~~~~~
[19/40] Compiling Cache MD5.swift
[20/40] Compiling Cache MemoryCapsule.swift
[21/40] Compiling Cache ObservationToken.swift
[22/40] Compiling Cache Optional+Extension.swift
[23/40] Compiling Cache StorageError.swift
[24/40] Compiling Cache Hasher+constantAccrossExecutions.swift
[25/40] Compiling Cache JSONDecoder+Extensions.swift
[26/40] Compiling Cache URL+Extensions.swift
[27/40] Compiling Cache DataSerializer.swift
[28/40] Compiling Cache Entry.swift
[29/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> {
^
[30/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> {
^
[31/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> {
^
[32/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> {
^
[33/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[34/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[35/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[36/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[37/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
^~~~~
[38/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
^~~~~
[39/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
^~~~~
[40/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
^~~~~
error: fatalError
BUILD FAILURE 5.10 linux