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.2 (beta) for Linux on 18 Jun 2025 22:57:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Jake-Short/swiftui-image-viewer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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.35s)
Computing version for https://github.com/dmytro-anokhin/url-image.git
Computed https://github.com/dmytro-anokhin/url-image.git at 2.2.5 (1.04s)
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 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 |
[14/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)
[15/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 |
[16/32] Emitting module Common
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/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
BUILD FAILURE 6.2 linux