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 main (35221b), with Swift 6.1 for Wasm on 5 Dec 2025 03:44:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Cache.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 35221b7 Fix deadlock issue (#26)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
35221b7cc3b13864f265db9af9100c62b0ace9cf
SUCCESS checkout https://github.com/0xLeif/Cache.git at main
========================================
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" : [
    {
      "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",
        "BugExposingTests.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-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3590] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
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
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
[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
[5/28] Compiling Cache Global+images.swift
[6/28] Compiling Cache Global+loggers.swift
[7/28] Compiling Cache Global.swift
[8/31] Compiling Cache Logging.swift
[9/31] Compiling Cache OptionallyCached.swift
[10/31] Compiling Cache Resolved.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/31] 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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
[16/31] Compiling Cache MissingRequiredKeysError.swift
[17/31] Compiling Cache Global+cache.swift
[18/31] Compiling Cache Global+dependencies.swift
[19/31] Compiling Cache RequiredKeysCache+subscript.swift
[20/31] Compiling Cache RequiredKeysCache.swift
[21/31] Compiling Cache CacheInitializable.swift
[22/31] Compiling Cache Cacheable.swift
[23/31] Compiling Cache Dictionary+Cacheable.swift
[24/31] Compiling Cache InvalidTypeError.swift
[25/31] Compiling Cache JSON+subscript.swift
[26/31] Compiling Cache JSON.swift
[27/31] Compiling Cache Cached.swift
[28/31] Compiling Cache ExpiringCache+subscript.swift
[29/31] Compiling Cache ExpiringCache.swift
[30/31] Compiling Cache LRUCache.swift
[31/31] Compiling Cache PersistableCache.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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
[4/27] Compiling Cache Cacheable.swift
[5/27] Compiling Cache Dictionary+Cacheable.swift
[6/27] Compiling Cache InvalidTypeError.swift
[7/30] Compiling Cache MissingRequiredKeysError.swift
[8/30] Compiling Cache Global+cache.swift
[9/30] Compiling Cache Global+dependencies.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/30] 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 |
[11/30] Compiling Cache Global+images.swift
[12/30] Compiling Cache Global+loggers.swift
[13/30] Compiling Cache Global.swift
[14/30] Compiling Cache RequiredKeysCache+subscript.swift
[15/30] Compiling Cache RequiredKeysCache.swift
[16/30] Compiling Cache CacheInitializable.swift
[17/30] Compiling Cache JSON+subscript.swift
[18/30] Compiling Cache JSON.swift
[19/30] Compiling Cache Cached.swift
[20/30] Compiling Cache Logging.swift
[21/30] Compiling Cache OptionallyCached.swift
[22/30] Compiling Cache Resolved.swift
[23/30] Compiling Cache ExpiringCache+subscript.swift
[24/30] Compiling Cache ExpiringCache.swift
[25/30] Compiling Cache LRUCache.swift
[26/30] Compiling Cache PersistableCache.swift
[27/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 |
[28/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 |
[29/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 |
[30/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 |
BUILD FAILURE 6.1 wasm