Build Information
Failed to build RemoteImage with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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: 4.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/crelies/remoteimage
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 7de2045 Merge pull request #18 from crelies/dev
Cloned https://github.com/crelies/remoteimage.git
Revision (git rev-parse @):
7de20453a8b9733eb8e28ae762801c60a5a5f59d
SUCCESS checkout https://github.com/crelies/remoteimage.git at 4.0.0
========================================
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-0":/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.43s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.3.8 (0.38s)
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 PhotoKitService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[6/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
^
[7/19] Compiling RemoteImage RemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[8/19] Compiling RemoteImage RemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[9/19] Compiling RemoteImage RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[10/19] Compiling RemoteImage DefaultRemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[11/19] Compiling RemoteImage DefaultRemoteImageServiceFactory.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[12/19] Compiling RemoteImage RemoteImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[13/19] Compiling RemoteImage PhotoKitServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[14/19] Compiling RemoteImage RemoteImageState.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)
[15/19] Emitting module RemoteImage
/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
[2/16] Compiling RemoteImage RemoteImageCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[3/16] Compiling RemoteImage RemoteImageService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[4/18] Compiling RemoteImage RemoteImageType.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[5/18] Compiling RemoteImage UniversalImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[6/18] Compiling RemoteImage DefaultRemoteImageCache.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)
[7/18] Compiling RemoteImage DefaultRemoteImageServiceDependencies.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[8/18] Compiling RemoteImage PhotoKitServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[9/18] Compiling RemoteImage RemoteImageState.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[10/18] Compiling RemoteImage RemoteImageServiceError.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[11/18] Compiling RemoteImage RemoteImageURLDataPublisherProvider.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[12/18] Emitting module RemoteImage
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[13/18] Compiling RemoteImage PhotoKitService.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[14/18] Compiling RemoteImage URLSession+RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[15/18] Compiling RemoteImage RemoteImageURLDataPublisher.swift
/host/spi-builder-workspace/Sources/RemoteImage/private/Services/PhotoKitService.swift:8:8: error: no such module 'Photos'
import Photos
^
[16/18] 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