Build Information
Failed to build Cache, reference master (bde695
), with Swift 5.9 for Linux on 11 Feb 2025 12:46:04 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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 bde695c Merge pull request #340 from gibachan/fix-unit-test
Cloned https://github.com/hyperoslo/Cache.git
Revision (git rev-parse @):
bde695cef10efe1f5541e4d13763ae833f103db3
SUCCESS checkout https://github.com/hyperoslo/Cache.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-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/iOS/Info.plist
/host/spi-builder-workspace/Tests/tvOS/Info.plist
/host/spi-builder-workspace/Tests/Mac/Info.plist
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/34] 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> {
^~~~~
[3/38] 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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[4/38] 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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[5/38] 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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[6/38] 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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[7/38] Compiling Cache Hasher+constantAccrossExecutions.swift
[8/38] Compiling Cache JSONDecoder+Extensions.swift
[9/38] Compiling Cache URL+Extensions.swift
[10/38] Compiling Cache DataSerializer.swift
[11/38] Compiling Cache Entry.swift
[12/38] 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 {
^~~~~
[13/38] 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 {
^~~~~
[14/38] 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 {
^~~~~
[15/38] 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 {
^~~~~
[16/38] 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 {
^~~~~
[17/38] Compiling Cache StorageObservationRegistry.swift
[18/38] Compiling Cache SyncStorage.swift
[19/38] Compiling Cache UIImage+Extensions.swift
[20/38] Compiling Cache resource_bundle_accessor.swift
[21/38] 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) {
^~~~~~~~~~~~~~~~~~
[22/38] 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) {
^~~~~~~~~~~~~~~~~~
[23/38] 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) {
^~~~~~~~~~~~~~~~~~
[24/38] 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) {
^~~~~~~~~~~~~~~~~~
[25/38] 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) {
^~~~~~~~~~~~~~~~~~
[26/38] Compiling Cache MD5.swift
[27/38] Compiling Cache MemoryCapsule.swift
[28/38] Compiling Cache ObservationToken.swift
[29/38] Compiling Cache Optional+Extension.swift
[30/38] Compiling Cache StorageError.swift
[31/38] 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
^~~~~
[32/38] 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
^~~~~
[33/38] 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
^~~~~
[34/38] 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
^~~~~
[35/38] 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> {
^
[36/38] 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> {
^
[37/38] 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> {
^
[38/38] 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
BUILD FAILURE 5.9 linux