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 (83b5b5), with Swift 5.10 for Linux on 10 May 2025 09:43:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.61.3
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 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 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-0":/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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
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/25] Compiling KYPhotoLibrary KYPhotoLibrary+ImageExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[6/25] Compiling KYPhotoLibrary KYPhotoLibrary+Album.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[7/25] Compiling KYPhotoLibrary KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[8/25] Compiling KYPhotoLibrary KYPhotoLibrary+Video.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[9/25] Compiling KYPhotoLibrary KYPhotoLibrary+VideoExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[10/25] Compiling KYPhotoLibrary URL+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[11/25] Compiling KYPhotoLibrary UTType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[12/25] Compiling KYPhotoLibrary KYPhotoLibrary+Image.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)
[13/25] Emitting module KYPhotoLibrary
/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 AssetRequestActor.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[18/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetChange.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[19/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetQuery.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[20/25] Compiling KYPhotoLibrary AVFileType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[21/25] Compiling KYPhotoLibrary TimeInterval+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[22/25] Compiling KYPhotoLibrary UIDevice+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[23/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetResource.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[24/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetURL.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[25/25] 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.10 linux