The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LocationPicker with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.42.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Reference: 1.1.2
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/alessiorubicini/LocationPickerForSwiftUI
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at aeb1aea Polishing code
Cloned https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Revision (git rev-parse @):
aeb1aea83e887676a6dc369566040748773b418d
SUCCESS checkout https://github.com/alessiorubicini/LocationPickerForSwiftUI.git at 1.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[1/9] Compiling LocationPicker LocationPicker.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[2/10] Compiling LocationPicker LocationManager.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[3/10] Compiling LocationPicker UsageExample.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[4/10] Compiling LocationPicker LocationError.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[5/10] Compiling LocationPicker LocationManagerDelegate.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Emitting module LocationPicker
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[7/10] Compiling LocationPicker CLLocationCoordinate2D+Equatable.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[8/10] Compiling LocationPicker LocalizedStringKey+toString.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[9/10] Compiling LocationPicker MapView.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
[10/10] Compiling LocationPicker VisualEffectView.swift
/host/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:9:8: error: no such module 'CoreLocation'
import CoreLocation
       ^
BUILD FAILURE 5.8 linux