The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Images, reference main (507b55), with Swift 6.1 for Wasm on 28 May 2025 01:38:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/elegantchaos/Images.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/elegantchaos/Images
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 507b558 newer ActionStatus
Cloned https://github.com/elegantchaos/Images.git
Revision (git rev-parse @):
507b5580d93e76692cd1cc184f4ffea4e620936e
SUCCESS checkout https://github.com/elegantchaos/Images.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Images.git
https://github.com/elegantchaos/Images.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "threadextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/ThreadExtensions.git"
    }
  ],
  "manifest_display_name" : "Images",
  "name" : "Images",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Images",
      "targets" : [
        "Images"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImagesTests",
      "module_type" : "SwiftTarget",
      "name" : "ImagesTests",
      "path" : "Tests/ImagesTests",
      "sources" : [
        "ImagesTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Images"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Images",
      "module_type" : "SwiftTarget",
      "name" : "Images",
      "path" : "Sources/Images",
      "product_dependencies" : [
        "Logger",
        "ThreadExtensions"
      ],
      "product_memberships" : [
        "Images"
      ],
      "sources" : [
        "AsyncImage.swift",
        "Image+AppKit.swift",
        "Image+Extensions.swift",
        "Image+UIKit.swift",
        "ImageCache.swift",
        "ImageFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Fetching https://github.com/elegantchaos/ThreadExtensions.git
Fetching https://github.com/elegantchaos/Logger.git
[1/42] Fetching threadextensions
Fetched https://github.com/elegantchaos/ThreadExtensions.git from cache (0.27s)
[1/2051] Fetching logger
Fetched https://github.com/elegantchaos/Logger.git from cache (0.35s)
Computing version for https://github.com/elegantchaos/ThreadExtensions.git
Computed https://github.com/elegantchaos/ThreadExtensions.git at 1.0.1 (1.21s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (1.09s)
Creating working copy for https://github.com/elegantchaos/ThreadExtensions.git
Working copy of https://github.com/elegantchaos/ThreadExtensions.git resolved at 1.0.1
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Logger PrintHandler.swift
[6/15] Compiling Logger NSLogHandler.swift
[7/16] Compiling Logger OSLogHandler.swift
[8/16] Compiling Logger UserDefaultsManagerSettings.swift
[9/16] Emitting module ThreadExtensions
[10/16] Compiling ThreadExtensions ThreadExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ThreadExtensions/Sources/ThreadExtensions/ThreadExtensions.swift:9:5: error: cannot find 'DispatchQueue' in scope
 7 |
 8 | public func onMainQueue(_ work: @escaping () -> ()) {
 9 |     DispatchQueue.main.async(execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
10 | }
11 |
/host/spi-builder-workspace/.build/checkouts/ThreadExtensions/Sources/ThreadExtensions/ThreadExtensions.swift:13:5: error: cannot find 'DispatchQueue' in scope
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/ThreadExtensions/Sources/ThreadExtensions/ThreadExtensions.swift:13:46: error: cannot call value of non-function type 'Date'
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |                                              `- error: cannot call value of non-function type 'Date'
14 | }
15 |
[11/16] Compiling Logger Handler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[13/16] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:66:26: error: cannot find 'Thread' in scope
 64 |         /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
 65 |         /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
 66 |         if let manager = Thread.main.threadDictionary["Logger.Manager"] {
    |                          `- error: cannot find 'Thread' in scope
 67 |             return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
 68 |         }
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:74:13: error: cannot find 'Thread' in scope
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |             `- error: cannot find 'Thread' in scope
 75 |         #endif
 76 |
[14/16] Compiling Logger Channel.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[15/16] Compiling Logger Context.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[16/16] Compiling Logger ManagerSettings.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[2/12] Emitting module ThreadExtensions
[3/12] Compiling ThreadExtensions ThreadExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ThreadExtensions/Sources/ThreadExtensions/ThreadExtensions.swift:9:5: error: cannot find 'DispatchQueue' in scope
 7 |
 8 | public func onMainQueue(_ work: @escaping () -> ()) {
 9 |     DispatchQueue.main.async(execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
10 | }
11 |
/host/spi-builder-workspace/.build/checkouts/ThreadExtensions/Sources/ThreadExtensions/ThreadExtensions.swift:13:5: error: cannot find 'DispatchQueue' in scope
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/ThreadExtensions/Sources/ThreadExtensions/ThreadExtensions.swift:13:46: error: cannot call value of non-function type 'Date'
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |                                              `- error: cannot call value of non-function type 'Date'
14 | }
15 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Compiling Logger NSLogHandler.swift
[5/12] Compiling Logger ManagerSettings.swift
[6/12] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
BUILD FAILURE 6.1 wasm