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 KYPhotoLibrary, reference main (26b435), with Swift 5.10 for Linux on 16 Jul 2025 03:57:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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/Kjuly/KYPhotoLibrary.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/Kjuly/KYPhotoLibrary
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 26b4351 KYPhotoLibraryDemo: Updated .toolbar
Cloned https://github.com/Kjuly/KYPhotoLibrary.git
Revision (git rev-parse @):
26b435104e4efaedd147062326e90e73bfe5813f
SUCCESS checkout https://github.com/Kjuly/KYPhotoLibrary.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Kjuly/KYPhotoLibrary.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/23] Compiling KYPhotoLibrary KYPhotoLibraryConfiguration.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[4/23] Compiling KYPhotoLibrary KYPhotoLibraryDebug.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[5/23] Compiling KYPhotoLibrary AVFileType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[6/23] Compiling KYPhotoLibrary TimeInterval+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[7/23] Compiling KYPhotoLibrary UIDevice+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[8/23] Compiling KYPhotoLibrary URL+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[9/23] Compiling KYPhotoLibrary UTType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[10/23] Compiling KYPhotoLibrary KYPhotoLibrary+Image.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[11/23] Compiling KYPhotoLibrary KYPhotoLibrary+ImageExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[12/23] Compiling KYPhotoLibrary KYPhotoLibrary+Album.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[13/23] Compiling KYPhotoLibrary KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[14/25] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions+OutputURL.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[15/25] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[16/25] Compiling KYPhotoLibrary KYPhotoLibraryLogger.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[17/25] Compiling KYPhotoLibrary KYPhotoLibrary+Video.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[18/25] Compiling KYPhotoLibrary KYPhotoLibrary+VideoExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[19/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetResource.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[20/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetURL.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[21/25] Compiling KYPhotoLibrary KYPhotoLibrary+Thumbnail.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[22/25] Compiling KYPhotoLibrary AssetRequestActor.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[23/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetChange.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[24/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetQuery.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/25] Emitting module KYPhotoLibrary
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
error: fatalError
BUILD FAILURE 5.10 linux