The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RemoteImage with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crelies/remoteimage.git
Reference: master
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/crelies/remoteimage
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 66680f4 docs(readme): updated build status badge
Cloned https://github.com/crelies/remoteimage.git
Revision (git rev-parse @):
66680f49e07da247db5fd08c089bdfa485f68c38
SUCCESS checkout https://github.com/crelies/remoteimage.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/crelies/remoteimage.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/nalexn/ViewInspector.git
[1/11105] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git from cache (0.41s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.3.8 (0.39s)
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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling RemoteImage RemoteImageType.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[4/17] Compiling RemoteImage UniversalImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[5/19] Compiling RemoteImage PhotoKitServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[6/19] Compiling RemoteImage RemoteImageState.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[7/19] Compiling RemoteImage RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[8/19] Compiling RemoteImage DefaultRemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[9/19] Compiling RemoteImage RemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[10/19] Compiling RemoteImage RemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[11/19] Compiling RemoteImage PhotoKitService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[12/19] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Emitting module RemoteImage
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[14/19] Compiling RemoteImage DefaultRemoteImageServiceFactory.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[15/19] Compiling RemoteImage RemoteImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[16/19] Compiling RemoteImage DefaultRemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[17/19] Compiling RemoteImage DefaultRemoteImageServiceDependencies.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[18/19] Compiling RemoteImage RemoteImageServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[19/19] Compiling RemoteImage RemoteImageURLDataPublisherProvider.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/16] Emitting module RemoteImage
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[3/16] Compiling RemoteImage PhotoKitServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[4/16] Compiling RemoteImage RemoteImageState.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[5/16] Compiling RemoteImage DefaultRemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[6/16] Compiling RemoteImage DefaultRemoteImageServiceDependencies.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[7/16] Compiling RemoteImage PhotoKitService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[8/16] Compiling RemoteImage URLSession+RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[9/16] Compiling RemoteImage RemoteImageServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[10/16] Compiling RemoteImage RemoteImageURLDataPublisherProvider.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[11/16] Compiling RemoteImage RemoteImageType.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[12/16] Compiling RemoteImage UniversalImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[13/16] Compiling RemoteImage RemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[14/16] Compiling RemoteImage RemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[15/16] Compiling RemoteImage RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[16/16] Compiling RemoteImage DefaultRemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[17/18] Compiling RemoteImage DefaultRemoteImageServiceFactory.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
       ^
[18/18] Compiling RemoteImage RemoteImage.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.10 linux

Build Machine: Linux 1