The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build KYPhotoLibrary, reference 2.0.0 (28e87c), with Swift 5.9 for Linux on 16 Nov 2024 08:14:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kjuly/KYPhotoLibrary.git
Reference: 2.0.0
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.0.0      -> FETCH_HEAD
HEAD is now at 28e87c3 KYPhotoLibrary.podspec: Set version to 2.0.0
Cloned https://github.com/Kjuly/KYPhotoLibrary.git
Revision (git rev-parse @):
28e87c3bd67a3a33e3620a30e81111e96a363892
SUCCESS checkout https://github.com/Kjuly/KYPhotoLibrary.git at 2.0.0
========================================
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-4606859-1":/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:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/21] Emitting module KYPhotoLibrary
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[2/23] Compiling KYPhotoLibrary AVFileType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[3/23] Compiling KYPhotoLibrary TimeInterval+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[4/23] Compiling KYPhotoLibrary UIDevice+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[5/23] Compiling KYPhotoLibrary KYPhotoLibrary+Video.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[6/23] Compiling KYPhotoLibrary KYPhotoLibrary+VideoExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[7/23] Compiling KYPhotoLibrary URL+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[8/23] Compiling KYPhotoLibrary UTType+KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[9/23] Compiling KYPhotoLibrary KYPhotoLibrary+Image.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[10/23] Compiling KYPhotoLibrary KYPhotoLibrary+ImageExport.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[11/23] Compiling KYPhotoLibrary KYPhotoLibrary+Album.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[12/23] Compiling KYPhotoLibrary KYPhotoLibrary.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[13/23] Compiling KYPhotoLibrary KYPhotoLibraryConfiguration.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[14/23] Compiling KYPhotoLibrary KYPhotoLibraryDebug.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[15/23] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions+OutputURL.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[16/23] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[17/23] Compiling KYPhotoLibrary KYPhotoLibraryLogger.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[18/23] Compiling KYPhotoLibrary AssetRequestActor.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[19/23] Compiling KYPhotoLibrary KYPhotoLibrary+AssetChange.swift
/host/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/AssetRequestActor.swift:10:8: error: no such module 'Photos'
import Photos
       ^
[20/23] Compiling KYPhotoLibrary KYPhotoLibrary+AssetQuery.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