The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CollectionLoader with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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/happn-app/CollectionLoader.git
Reference: main
Cloned https://github.com/happn-app/CollectionLoader.git into spi-builder-workspace
SUCCESS checkout https://github.com/happn-app/CollectionLoader.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/happn-app/KVObserver.git
Fetching https://github.com/happn-app/AsyncOperationResult.git
[1/231] Fetching kvobserver
[232/400] Fetching kvobserver, asyncoperationresult
Fetched https://github.com/happn-app/KVObserver.git (0.30s)
Fetched https://github.com/happn-app/AsyncOperationResult.git (0.34s)
Computing version for https://github.com/happn-app/AsyncOperationResult.git
Computed https://github.com/happn-app/AsyncOperationResult.git at 1.0.7 (0.54s)
Computing version for https://github.com/happn-app/KVObserver.git
Computed https://github.com/happn-app/KVObserver.git at 0.9.5 (0.41s)
Creating working copy for https://github.com/happn-app/KVObserver.git
Working copy of https://github.com/happn-app/KVObserver.git resolved at 0.9.5
Creating working copy for https://github.com/happn-app/AsyncOperationResult.git
Working copy of https://github.com/happn-app/AsyncOperationResult.git resolved at 1.0.7
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module KVObserver
/host/spi-builder-workspace/.build/checkouts/KVObserver/Sources/KVObserver/KVObserver.swift:16:8: error: no such module 'CoreData'
import CoreData
       ^
[2/4] Compiling KVObserver KVObserver.swift
/host/spi-builder-workspace/.build/checkouts/KVObserver/Sources/KVObserver/KVObserver.swift:16:8: error: no such module 'CoreData'
import CoreData
       ^
error: fatalError
[3/4] Emitting module AsyncOperationResult
[4/4] Compiling AsyncOperationResult AsyncOperationResult.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2