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.0 (a535c6), with Swift 6.1 for Wasm on 29 May 2025 00:02:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Cache.git
Reference: 2.1.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/0xLeif/Cache
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at a535c68 Update PersistableCache to use mapppings (#13)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
a535c68aab7bf0b42bda7a5de66b04f86e48c6e6
SUCCESS checkout https://github.com/0xLeif/Cache.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
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" : [
  ],
  "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"
    }
  ],
  "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"
      ],
      "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" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/26] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'dependencies' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
[4/29] Compiling Cache RequiredKeysCache+subscript.swift
[5/29] Compiling Cache RequiredKeysCache.swift
[6/29] Compiling Cache CacheInitializable.swift
[7/29] Compiling Cache Logging.swift
[8/29] Compiling Cache OptionallyCached.swift
[9/29] Compiling Cache Resolved.swift
[10/29] Compiling Cache ExpiringCache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[11/29] Compiling Cache ExpiringCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[12/29] Compiling Cache LRUCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[13/29] Compiling Cache PersistableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/ExpiringCache.swift:16:20: warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 10 |  Objects stored in the cache are automatically removed when their expiration duration has passed.
 11 |  */
 12 | public class ExpiringCache<Key: Hashable, Value>: Cacheable {
    |                            `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 13 |     /// `Error` that reports expired values
 14 |     public struct ExpiriedValueError: LocalizedError {
 15 |         /// Expired key
 16 |         public let key: Key
    |                    `- warning: stored property 'key' of 'Sendable'-conforming struct 'ExpiriedValueError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 17 |
 18 |         /// When the value expired
[14/29] Compiling Cache MissingRequiredKeysError.swift
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'dependencies' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
[15/29] Compiling Cache Global+cache.swift
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'dependencies' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
[16/29] Compiling Cache Global+dependencies.swift
/host/spi-builder-workspace/Sources/Cache/Errors/MissingRequiredKeysError.swift:6:16: warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 2 |
 3 | /// `Error` that reports the required keys
 4 | public struct MissingRequiredKeysError<Key: Hashable>: LocalizedError {
   |                                        `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 5 |     /// Required keys
 6 |     public let keys: Set<Key>
   |                `- warning: stored property 'keys' of 'Sendable'-conforming generic struct 'MissingRequiredKeysError' has non-sendable type 'Set<Key>'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// init for `MissingRequiredKeysError<Key>`
/host/spi-builder-workspace/Sources/Cache/Global/Global+cache.swift:3:23: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing values.
3 |     public static var cache: Cache<AnyHashable, Any> = Cache()
  |                       |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
/host/spi-builder-workspace/Sources/Cache/Global/Global+dependencies.swift:3:23: warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Global {
2 |     /// The global cache for storing required dependencies.
3 |     public static var dependencies: RequiredKeysCache<AnyHashable, Any> = RequiredKeysCache()
  |                       |- warning: static property 'dependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'dependencies' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'dependencies' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | }
5 |
[17/29] Compiling Cache Cacheable.swift
[18/29] Compiling Cache Dictionary+Cacheable.swift
[19/29] Compiling Cache InvalidTypeError.swift
[20/29] Compiling Cache Global+images.swift
[21/29] Compiling Cache Global+loggers.swift
[22/29] Compiling Cache Global.swift
[23/29] Compiling Cache JSON+subscript.swift
[24/29] Compiling Cache JSON.swift
[25/29] Compiling Cache Cached.swift
[26/29] Compiling Cache AnyCacheable.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[27/29] Compiling Cache Cache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[28/29] Compiling Cache Cache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[29/29] Compiling Cache ComposableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/25] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[3/28] Compiling Cache AnyCacheable.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[4/28] Compiling Cache Cache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[5/28] Compiling Cache Cache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[6/28] Compiling Cache ComposableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:25:6: error: unknown attribute 'Published'
 23 |     #else
 24 |     /// The actual cache dictionary of key-value pairs.
 25 |     @Published fileprivate var cache: [Key: Value] = [:]
    |      `- error: unknown attribute 'Published'
 26 |     #endif
 27 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:163:18: error: cannot find type 'ObservableObject' in scope
161 |
162 | #if !os(Linux) && !os(Windows)
163 | extension Cache: ObservableObject { }
    |                  `- error: cannot find type 'ObservableObject' in scope
164 | #endif
165 |
[7/28] Compiling Cache Logging.swift
[8/28] Compiling Cache OptionallyCached.swift
[9/28] Compiling Cache Resolved.swift
[10/28] Compiling Cache MissingRequiredKeysError.swift
[11/28] Compiling Cache Global+cache.swift
[12/28] Compiling Cache Global+dependencies.swift
[13/28] Compiling Cache Global+images.swift
[14/28] Compiling Cache Global+loggers.swift
[15/28] Compiling Cache Global.swift
[16/28] Compiling Cache JSON+subscript.swift
[17/28] Compiling Cache JSON.swift
[18/28] Compiling Cache Cached.swift
[19/28] Compiling Cache RequiredKeysCache+subscript.swift
[20/28] Compiling Cache RequiredKeysCache.swift
[21/28] Compiling Cache CacheInitializable.swift
[22/28] Compiling Cache Cacheable.swift
[23/28] Compiling Cache Dictionary+Cacheable.swift
[24/28] Compiling Cache InvalidTypeError.swift
[25/28] Compiling Cache ExpiringCache+subscript.swift
[26/28] Compiling Cache ExpiringCache.swift
[27/28] Compiling Cache LRUCache.swift
[28/28] Compiling Cache PersistableCache.swift
BUILD FAILURE 6.1 wasm