The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RemoteImage with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crelies/remoteimage.git
Reference: 4.0.0
Cloned https://github.com/crelies/remoteimage.git into spi-builder-workspace
SUCCESS checkout https://github.com/crelies/remoteimage.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/nalexn/ViewInspector.git
[1/10257] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git (0.48s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.3.8 (0.26s)
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.3.8
Building for debugging...
[1/15] Compiling RemoteImage RemoteImageType.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[2/15] Compiling RemoteImage UniversalImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[3/17] Compiling RemoteImage DefaultRemoteImageServiceFactory.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[4/17] Compiling RemoteImage RemoteImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[5/17] Compiling RemoteImage PhotoKitServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[6/17] Compiling RemoteImage RemoteImageState.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[7/17] Compiling RemoteImage RemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[8/17] Compiling RemoteImage RemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[9/17] Compiling RemoteImage RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[10/17] Compiling RemoteImage DefaultRemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Emitting module RemoteImage
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[12/17] Compiling RemoteImage RemoteImageServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[13/17] Compiling RemoteImage RemoteImageURLDataPublisherProvider.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[14/17] Compiling RemoteImage DefaultRemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[15/17] Compiling RemoteImage DefaultRemoteImageServiceDependencies.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[16/17] Compiling RemoteImage PhotoKitService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[17/17] Compiling RemoteImage URLSession+RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1