The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Cache, reference 7.4.0 (24e471), with Swift 5.9 for Linux on 27 Aug 2024 18:31:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.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.9
Building package at path:  $PWD
https://github.com/hyperoslo/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
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/Mac/Info.plist
    /host/spi-builder-workspace/Tests/tvOS/Info.plist
    /host/spi-builder-workspace/Tests/iOS/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 StorageObservationRegistry.swift
[4/38] Compiling Cache SyncStorage.swift
[5/38] Compiling Cache UIImage+Extensions.swift
[6/38] Compiling Cache resource_bundle_accessor.swift
[7/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> {
       ^
[8/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> {
       ^
[9/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> {
       ^
[10/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> {
       ^
[11/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
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[12/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
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[13/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
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[14/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
        ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
[15/38] Compiling Cache Hasher+constantAccrossExecutions.swift
[16/38] Compiling Cache JSONDecoder+Extensions.swift
[17/38] Compiling Cache URL+Extensions.swift
[18/38] Compiling Cache DataSerializer.swift
[19/38] Compiling Cache Entry.swift
[20/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) {
                              ^~~~~~~~~~~~~~~~~~
[21/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) {
                              ^~~~~~~~~~~~~~~~~~
[22/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) {
                              ^~~~~~~~~~~~~~~~~~
[23/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) {
                              ^~~~~~~~~~~~~~~~~~
[24/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) {
                              ^~~~~~~~~~~~~~~~~~
[25/38] Compiling Cache MD5.swift
[26/38] Compiling Cache MemoryCapsule.swift
[27/38] Compiling Cache ObservationToken.swift
[28/38] Compiling Cache Optional+Extension.swift
[29/38] Compiling Cache StorageError.swift
[30/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
                                   ^~~~~
[31/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
                                   ^~~~~
[32/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
                                   ^~~~~
[33/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
                                   ^~~~~
[34/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 {
                      ^~~~~
[35/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 {
                      ^~~~~
[36/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 {
                      ^~~~~
[37/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 {
                      ^~~~~
[38/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 {
                      ^~~~~
error: fatalError
BUILD FAILURE 5.9 linux