Build Information
Failed to build Cache, reference master (bde695
), with Swift 5.10 for Linux on 11 Feb 2025 12:45:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.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.10
Building package at path: $PWD
https://github.com/hyperoslo/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
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/tvOS/Info.plist
/host/spi-builder-workspace/Tests/iOS/Info.plist
/host/spi-builder-workspace/Tests/Mac/Info.plist
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/36] 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 {
^~~~~
[5/36] 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 {
^~~~~
[6/36] 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 {
^~~~~
[7/36] 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 {
^~~~~
[8/36] 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 {
^~~~~
[9/40] Compiling Cache MD5.swift
[10/40] Compiling Cache MemoryCapsule.swift
[11/40] Compiling Cache ObservationToken.swift
[12/40] Compiling Cache Optional+Extension.swift
[13/40] Compiling Cache StorageError.swift
[14/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> {
^
[15/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> {
^
[16/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> {
^
[17/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> {
^
[18/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
^~~~~
[19/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
^~~~~
[20/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
^~~~~
[21/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: emit-module command failed with exit code 1 (use -v to see invocation)
[22/40] Compiling Cache Hasher+constantAccrossExecutions.swift
[23/40] Compiling Cache JSONDecoder+Extensions.swift
[24/40] Compiling Cache URL+Extensions.swift
[25/40] Compiling Cache DataSerializer.swift
[26/40] Compiling Cache Entry.swift
[27/40] 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> {
^~~~~
[28/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[29/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[30/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[31/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
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[32/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) {
^~~~~~~~~~~~~~~~~~
[33/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) {
^~~~~~~~~~~~~~~~~~
[34/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) {
^~~~~~~~~~~~~~~~~~
[35/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) {
^~~~~~~~~~~~~~~~~~
[36/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) {
^~~~~~~~~~~~~~~~~~
[37/40] Compiling Cache StorageObservationRegistry.swift
[38/40] Compiling Cache SyncStorage.swift
[39/40] Compiling Cache UIImage+Extensions.swift
[40/40] Compiling Cache resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 linux