This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SwiftUIContactPicker with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pykaso/SwiftUI_ContactPicker.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/pykaso/SwiftUI_ContactPicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e22b127 fixed dark header appearance
Cloned https://github.com/pykaso/SwiftUI_ContactPicker.git
Revision (git rev-parse @):
e22b1275aa0b441d6e1329669f668e8b29c7b628
SUCCESS checkout https://github.com/pykaso/SwiftUI_ContactPicker.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/pykaso/SwiftUI_ContactPicker.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/SwiftUIContactPicker/SwiftUIContactPickerExample': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/SwiftUIContactPicker/README.md
    /host/spi-builder-workspace/SwiftUIContactPicker/Info.plist
Building for debugging...
[0/3] Write sources
[1/3] Copying Media.xcassets
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling SwiftUIContactPicker ContactPickerHeaderView.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[5/13] Compiling SwiftUIContactPicker CompactContactRow.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module SwiftUIContactPicker
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[7/13] Compiling SwiftUIContactPicker Color+Extensions.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[8/13] Compiling SwiftUIContactPicker ContactPickerView.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[9/13] Compiling SwiftUIContactPicker ContactPickerViewModel.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[10/13] Compiling SwiftUIContactPicker ContactPickerConfiguration.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[11/13] Compiling SwiftUIContactPicker ContactStore.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[12/13] Compiling SwiftUIContactPicker PhoneContact.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
[13/13] Compiling SwiftUIContactPicker resource_bundle_accessor.swift
/host/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:1:8: error: no such module 'Contacts'
 1 | import Contacts
   |        `- error: no such module 'Contacts'
 2 | import SwiftUI
 3 |
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.