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 2.1.1 (83b5b5), with Swift 5.9 for Linux on 10 May 2025 09:42:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kjuly/KYPhotoLibrary.git
Reference: 2.1.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/Kjuly/KYPhotoLibrary
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 83b5b5a KYPhotoLibrary.podspec: Set spec.version=2.1.1
Cloned https://github.com/Kjuly/KYPhotoLibrary.git
Revision (git rev-parse @):
83b5b5acd1cfeaf0c4a10193ed3d213e59c58b82
SUCCESS checkout https://github.com/Kjuly/KYPhotoLibrary.git at 2.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Kjuly/KYPhotoLibrary.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/21] Compiling KYPhotoLibrary AVFileType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[2/21] Compiling KYPhotoLibrary TimeInterval+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[3/21] Compiling KYPhotoLibrary UIDevice+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[4/23] Compiling KYPhotoLibrary KYPhotoLibrary+Video.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[5/23] Compiling KYPhotoLibrary KYPhotoLibrary+VideoExport.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)
[6/23] Emitting module KYPhotoLibrary
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[7/23] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions+OutputURL.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[8/23] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[9/23] Compiling KYPhotoLibrary KYPhotoLibraryLogger.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[10/23] Compiling KYPhotoLibrary KYPhotoLibraryConfiguration.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[11/23] Compiling KYPhotoLibrary KYPhotoLibraryDebug.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[12/23] Compiling KYPhotoLibrary URL+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[13/23] Compiling KYPhotoLibrary UTType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[14/23] Compiling KYPhotoLibrary KYPhotoLibrary+Image.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[15/23] Compiling KYPhotoLibrary AssetRequestActor.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[16/23] Compiling KYPhotoLibrary KYPhotoLibrary+AssetChange.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[17/23] Compiling KYPhotoLibrary KYPhotoLibrary+AssetQuery.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[18/23] Compiling KYPhotoLibrary KYPhotoLibrary+ImageExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[19/23] Compiling KYPhotoLibrary KYPhotoLibrary+Album.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[20/23] Compiling KYPhotoLibrary KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[21/23] Compiling KYPhotoLibrary KYPhotoLibrary+AssetResource.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[22/23] Compiling KYPhotoLibrary KYPhotoLibrary+AssetURL.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[23/23] Compiling KYPhotoLibrary KYPhotoLibrary+Thumbnail.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
error: fatalError
BUILD FAILURE 5.9 linux