The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LocationFormatter with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/salishseasoftware/LocationFormatter.git
Reference: main
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/salishseasoftware/LocationFormatter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d0a45f9 Merge pull request #4 from salishseasoftware/geoURI
Cloned https://github.com/salishseasoftware/LocationFormatter.git
Revision (git rev-parse @):
d0a45f9a2471b20e0af4792533d79a469d86fc61
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/salishseasoftware/LocationFormatter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
https://github.com/salishseasoftware/LocationFormatter.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/wtw-software/UTMConversion
[1/256] Fetching utmconversion
[255/1704] Fetching utmconversion, swift-docc-plugin
Fetched https://github.com/wtw-software/UTMConversion (0.41s)
Fetched https://github.com/apple/swift-docc-plugin (0.42s)
Computing version for https://github.com/wtw-software/UTMConversion
Computed https://github.com/wtw-software/UTMConversion at 1.4.0 (0.32s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.26s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2379] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.41s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.35s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/wtw-software/UTMConversion
Working copy of https://github.com/wtw-software/UTMConversion resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/5] Emitting module UTMConversion
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[2/5] Compiling UTMConversion CLLocation+UTMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[3/5] Compiling UTMConversion CLLocationCoordinate2D+UTMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[4/5] Compiling UTMConversion TMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[5/5] Compiling UTMConversion UTMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[0/1] Planning build
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/5] Emitting module UTMConversion
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[2/5] Compiling UTMConversion CLLocation+UTMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[3/5] Compiling UTMConversion UTMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[4/5] Compiling UTMConversion CLLocationCoordinate2D+UTMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[5/5] Compiling UTMConversion TMCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/UTMConversion/UTMConversion/CLLocation+UTMCoordinate.swift:1:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2