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 grand-access, reference main (988a45), with Swift 5.10 for Linux on 14 Sep 2024 19:20:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/grand-access.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/igor11191708/grand-access
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 988a45b Update .spi.yml
Cloned https://github.com/igor11191708/grand-access.git
Revision (git rev-parse @):
988a45ba224e0c0cbbe07e52878c7c1b9b76da29
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/igor11191708/grand-access.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/igor11191708/grand-access.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/6] Write sources
[1/6] Copying Localizable.strings
[1/6] Copying Info.plist
[3/6] Copying Localizable.strings
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Compiling grand_access Permission.swift
[8/10] Compiling grand_access resource_bundle_accessor.swift
[9/10] Emitting module grand_access
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:28:16: error: cannot find type 'LocalizedStringKey' in scope
    let title: LocalizedStringKey
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:31:18: error: cannot find type 'LocalizedStringKey' in scope
    let message: LocalizedStringKey
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:34:6: error: unknown attribute 'Binding'
    @Binding var showingAlert: Bool
     ^
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:36:14: error: cannot find type 'URL' in scope
    let url: URL?
             ^~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:41:16: error: cannot find type 'LocalizedStringKey' in scope
        title: LocalizedStringKey,
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:42:18: error: cannot find type 'LocalizedStringKey' in scope
        message: LocalizedStringKey,
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:43:23: error: cannot find type 'Binding' in scope
        showingAlert: Binding<Bool>,
                      ^~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:44:14: error: cannot find type 'URL' in scope
        url: URL? = GrandAccessModifier.defaultSettingsURL
             ^~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:48: error: cannot find type 'View' in scope
    public func body(content: Content) -> some View {
                                               ^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:43: error: 'some' types are only permitted in properties, subscripts, and functions
    public func body(content: Content) -> some View {
                                          ^
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:31: error: cannot find type 'Content' in scope
    public func body(content: Content) -> some View {
                              ^~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:86:43: error: cannot find type 'URL' in scope
    public static var defaultSettingsURL: URL? {
                                          ^~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:25:36: error: cannot find type 'ViewModifier' in scope
public struct GrandAccessModifier: ViewModifier {
                                   ^~~~~~~~~~~~
[10/10] Compiling grand_access GrandAccessModifier.swift
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:28:16: error: cannot find type 'LocalizedStringKey' in scope
    let title: LocalizedStringKey
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:31:18: error: cannot find type 'LocalizedStringKey' in scope
    let message: LocalizedStringKey
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:34:6: error: unknown attribute 'Binding'
    @Binding var showingAlert: Bool
     ^
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:36:14: error: cannot find type 'URL' in scope
    let url: URL?
             ^~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:41:16: error: cannot find type 'LocalizedStringKey' in scope
        title: LocalizedStringKey,
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:42:18: error: cannot find type 'LocalizedStringKey' in scope
        message: LocalizedStringKey,
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:43:23: error: cannot find type 'Binding' in scope
        showingAlert: Binding<Bool>,
                      ^~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:44:14: error: cannot find type 'URL' in scope
        url: URL? = GrandAccessModifier.defaultSettingsURL
             ^~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:48: error: cannot find type 'View' in scope
    public func body(content: Content) -> some View {
                                               ^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:43: error: 'some' types are only permitted in properties, subscripts, and functions
    public func body(content: Content) -> some View {
                                          ^
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:31: error: cannot find type 'Content' in scope
    public func body(content: Content) -> some View {
                              ^~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:86:43: error: cannot find type 'URL' in scope
    public static var defaultSettingsURL: URL? {
                                          ^~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:25:36: error: cannot find type 'ViewModifier' in scope
public struct GrandAccessModifier: ViewModifier {
                                   ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:49:14: error: value of type 'GrandAccessModifier' has no member '_showingAlert'
        self._showingAlert = showingAlert
        ~~~~ ^~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux