The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Cache, reference 2.1.2 (ff7c20), with Swift 6.1 for Android on 21 Sep 2025 04:35:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Cache.git
Reference: 2.1.2
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/0xLeif/Cache
 * tag               2.1.2      -> FETCH_HEAD
HEAD is now at ff7c208 Add dependency for swift-docc-plugin (#24)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
ff7c208eb8311c9bd150a87792d1df36851b95f1
SUCCESS checkout https://github.com/0xLeif/Cache.git at 2.1.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLeif/Cache.git
https://github.com/0xLeif/Cache.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Cache",
  "name" : "Cache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Cache",
      "targets" : [
        "Cache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CacheTests",
      "module_type" : "SwiftTarget",
      "name" : "CacheTests",
      "path" : "Tests/CacheTests",
      "sources" : [
        "AnyCacheableTests.swift",
        "CacheInitializableTests.swift",
        "CacheTests.swift",
        "ComposableCacheTests.swift",
        "DictionaryTests.swift",
        "ExampleTests.swift",
        "ExpiringCacheTests.swift",
        "JSONTests.swift",
        "LRUCacheTests.swift",
        "LoggingTests.swift",
        "PersistableCacheTests.swift",
        "PropertyWrappersTests.swift",
        "RequiredKeysCacheTests.swift",
        "ThreadSafetyTests.swift"
      ],
      "target_dependencies" : [
        "Cache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cache",
      "module_type" : "SwiftTarget",
      "name" : "Cache",
      "path" : "Sources/Cache",
      "product_memberships" : [
        "Cache"
      ],
      "sources" : [
        "Cache/AnyCacheable.swift",
        "Cache/Cache+subscript.swift",
        "Cache/Cache.swift",
        "Cache/ComposableCache.swift",
        "Cache/ExpiringCache+subscript.swift",
        "Cache/ExpiringCache.swift",
        "Cache/LRUCache.swift",
        "Cache/PersistableCache.swift",
        "Cache/RequiredKeysCache+subscript.swift",
        "Cache/RequiredKeysCache.swift",
        "CacheInitializable.swift",
        "Cacheable.swift",
        "Dictionary/Dictionary+Cacheable.swift",
        "Errors/InvalidTypeError.swift",
        "Errors/MissingRequiredKeysError.swift",
        "Global/Global+cache.swift",
        "Global/Global+dependencies.swift",
        "Global/Global+images.swift",
        "Global/Global+loggers.swift",
        "Global/Global.swift",
        "JSON/JSON+subscript.swift",
        "JSON/JSON.swift",
        "PropertyWrappers/Cached.swift",
        "PropertyWrappers/Logging.swift",
        "PropertyWrappers/OptionallyCached.swift",
        "PropertyWrappers/Resolved.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3528] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.30s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/28] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[6/31] Compiling Cache Logging.swift
[7/31] Compiling Cache OptionallyCached.swift
[8/31] Compiling Cache Resolved.swift
[9/31] Compiling Cache ExpiringCache+subscript.swift
[10/31] Compiling Cache ExpiringCache.swift
[11/31] Compiling Cache LRUCache.swift
[12/31] Compiling Cache PersistableCache.swift
[13/31] Compiling Cache JSON+subscript.swift
[14/31] Compiling Cache JSON.swift
[15/31] Compiling Cache Cached.swift
[16/31] Compiling Cache Global+images.swift
[17/31] Compiling Cache Global+loggers.swift
[18/31] Compiling Cache Global.swift
[19/31] Compiling Cache MissingRequiredKeysError.swift
[20/31] Compiling Cache Global+cache.swift
[21/31] Compiling Cache Global+dependencies.swift
[22/31] Compiling Cache AnyCacheable.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[23/31] Compiling Cache Cache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[24/31] Compiling Cache Cache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[25/31] Compiling Cache ComposableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[26/31] Compiling Cache RequiredKeysCache+subscript.swift
[27/31] Compiling Cache RequiredKeysCache.swift
[28/31] Compiling Cache CacheInitializable.swift
[29/31] Compiling Cache Cacheable.swift
[30/31] Compiling Cache Dictionary+Cacheable.swift
[31/31] Compiling Cache InvalidTypeError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/27] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[5/30] Compiling Cache AnyCacheable.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[6/30] Compiling Cache Cache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[7/30] Compiling Cache Cache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[8/30] Compiling Cache ComposableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
 24 |     #else
 25 |     /// The actual cache dictionary of key-value pairs.
 26 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 27 |     #endif
 28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[9/30] Compiling Cache RequiredKeysCache+subscript.swift
[10/30] Compiling Cache RequiredKeysCache.swift
[11/30] Compiling Cache CacheInitializable.swift
[12/30] Compiling Cache Logging.swift
[13/30] Compiling Cache OptionallyCached.swift
[14/30] Compiling Cache Resolved.swift
[15/30] Compiling Cache JSON+subscript.swift
[16/30] Compiling Cache JSON.swift
[17/30] Compiling Cache Cached.swift
[18/30] Compiling Cache Global+images.swift
[19/30] Compiling Cache Global+loggers.swift
[20/30] Compiling Cache Global.swift
[21/30] Compiling Cache MissingRequiredKeysError.swift
[22/30] Compiling Cache Global+cache.swift
[23/30] Compiling Cache Global+dependencies.swift
[24/30] Compiling Cache Cacheable.swift
[25/30] Compiling Cache Dictionary+Cacheable.swift
[26/30] Compiling Cache InvalidTypeError.swift
[27/30] Compiling Cache ExpiringCache+subscript.swift
[28/30] Compiling Cache ExpiringCache.swift
[29/30] Compiling Cache LRUCache.swift
[30/30] Compiling Cache PersistableCache.swift
BUILD FAILURE 6.1 android