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 SwiftUIImageViewer, reference 3.0.1-beta.1 (c4de1a), with Swift 6.1 for Wasm on 27 May 2025 23:23:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Jake-Short/swiftui-image-viewer.git
Reference: 3.0.1-beta.1
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/Jake-Short/swiftui-image-viewer
 * tag               3.0.1-beta.1 -> FETCH_HEAD
HEAD is now at c4de1a1 Merge pull request #33 from Jake-Short/close-button-updates
Cloned https://github.com/Jake-Short/swiftui-image-viewer.git
Revision (git rev-parse @):
c4de1a1f1a89a5088cfd69f951c53d3ba471a324
SUCCESS checkout https://github.com/Jake-Short/swiftui-image-viewer.git at 3.0.1-beta.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Jake-Short/swiftui-image-viewer.git
https://github.com/Jake-Short/swiftui-image-viewer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "url-image",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dmytro-anokhin/url-image.git"
    }
  ],
  "manifest_display_name" : "SwiftUIImageViewer",
  "name" : "SwiftUIImageViewer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ImageViewer",
      "targets" : [
        "ImageViewer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImageViewerRemote",
      "targets" : [
        "ImageViewerRemote"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImageViewerRemote",
      "module_type" : "SwiftTarget",
      "name" : "ImageViewerRemote",
      "path" : "Sources/ImageViewerRemote",
      "product_dependencies" : [
        "URLImage"
      ],
      "product_memberships" : [
        "ImageViewerRemote"
      ],
      "sources" : [
        "ImageViewerRemote.swift"
      ],
      "target_dependencies" : [
        "ImageViewer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImageViewer",
      "module_type" : "SwiftTarget",
      "name" : "ImageViewer",
      "path" : "Sources/ImageViewer",
      "product_memberships" : [
        "ImageViewer",
        "ImageViewerRemote"
      ],
      "sources" : [
        "ImageViewer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/dmytro-anokhin/url-image.git
[1/4353] Fetching url-image
Fetched https://github.com/dmytro-anokhin/url-image.git from cache (0.31s)
Computing version for https://github.com/dmytro-anokhin/url-image.git
Computed https://github.com/dmytro-anokhin/url-image.git at 2.2.5 (2.51s)
Creating working copy for https://github.com/dmytro-anokhin/url-image.git
Working copy of https://github.com/dmytro-anokhin/url-image.git resolved at 2.2.5
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/32] Emitting module ImageViewer
/host/spi-builder-workspace/Sources/ImageViewer/ImageViewer.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 | import UIKit
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/32] Emitting module Log
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/Log/Log.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | public let log_default = 1
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/32] Emitting module PlainDatabase
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/PlainDatabase/CoreDataModel/CoreDataAttributeDescription.swift:8:8: error: no such module 'CoreData'
 6 | //
 7 |
 8 | import CoreData
   |        `- error: no such module 'CoreData'
 9 |
10 |
[15/32] Compiling ImageViewer ImageViewer.swift
/host/spi-builder-workspace/Sources/ImageViewer/ImageViewer.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 | import UIKit
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/32] Emitting module ImageDecoder
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/ImageDecoder/ImageDecoder.swift:9:8: error: no such module 'ImageIO'
  7 | //  ImageDecoder is based on ImageDecoderCG from WebCore https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp
  8 |
  9 | import ImageIO
    |        `- error: no such module 'ImageIO'
 10 | import Foundation
 11 |
[17/32] Emitting module Common
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/22] Emitting module RemoteContentView
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/RemoteContentView/Auxiliary/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 |
[3/22] Compiling RemoteContentView RemoteContentView.swift
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/RemoteContentView/Auxiliary/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 |
[4/22] Compiling RemoteContentView RemoteContentLoadingState.swift
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/RemoteContentView/Auxiliary/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module ImageViewer
/host/spi-builder-workspace/Sources/ImageViewer/ImageViewer.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 | import UIKit
  3 |
[6/22] Compiling ImageViewer ImageViewer.swift
/host/spi-builder-workspace/Sources/ImageViewer/ImageViewer.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 | import UIKit
  3 |
[7/22] Compiling PlainDatabase CoreDataModelDescription.swift
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/PlainDatabase/CoreDataModel/CoreDataAttributeDescription.swift:8:8: error: no such module 'CoreData'
 6 | //
 7 |
 8 | import CoreData
   |        `- error: no such module 'CoreData'
 9 |
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/22] Emitting module PlainDatabase
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/PlainDatabase/CoreDataModel/CoreDataAttributeDescription.swift:8:8: error: no such module 'CoreData'
 6 | //
 7 |
 8 | import CoreData
   |        `- error: no such module 'CoreData'
 9 |
10 |
[9/22] Compiling RemoteContentView ActivityIndicator.swift
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/RemoteContentView/Auxiliary/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/22] Emitting module ImageDecoder
/host/spi-builder-workspace/.build/checkouts/url-image/Dependencies/Sources/ImageDecoder/ImageDecoder.swift:9:8: error: no such module 'ImageIO'
  7 | //  ImageDecoder is based on ImageDecoderCG from WebCore https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp
  8 |
  9 | import ImageIO
    |        `- error: no such module 'ImageIO'
 10 | import Foundation
 11 |
[11/22] Emitting module Common
BUILD FAILURE 6.1 wasm