Build Information
Failed to build grand-access, reference main (988a45
), with Swift 6.0 (beta) for Linux on 14 Sep 2024 19:18:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.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: 6.0
Building package at path: $PWD
https://github.com/igor11191708/grand-access.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/6] Write sources
[0/6] Copying Localizable.strings
[0/6] Copying Info.plist
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module grand_access
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:28:16: error: cannot find type 'LocalizedStringKey' in scope
26 |
27 | /// Text of title
28 | let title: LocalizedStringKey
| `- error: cannot find type 'LocalizedStringKey' in scope
29 |
30 | /// The main message
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:31:18: error: cannot find type 'LocalizedStringKey' in scope
29 |
30 | /// The main message
31 | let message: LocalizedStringKey
| `- error: cannot find type 'LocalizedStringKey' in scope
32 |
33 | /// Binding to on/off alert
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:34:6: error: unknown attribute 'Binding'
32 |
33 | /// Binding to on/off alert
34 | @Binding var showingAlert: Bool
| `- error: unknown attribute 'Binding'
35 |
36 | let url: URL?
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:36:14: error: cannot find type 'URL' in scope
34 | @Binding var showingAlert: Bool
35 |
36 | let url: URL?
| `- error: cannot find type 'URL' in scope
37 |
38 | // MARK: - Life circle
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:41:16: error: cannot find type 'LocalizedStringKey' in scope
39 |
40 | public init(
41 | title: LocalizedStringKey,
| `- error: cannot find type 'LocalizedStringKey' in scope
42 | message: LocalizedStringKey,
43 | showingAlert: Binding<Bool>,
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:42:18: error: cannot find type 'LocalizedStringKey' in scope
40 | public init(
41 | title: LocalizedStringKey,
42 | message: LocalizedStringKey,
| `- error: cannot find type 'LocalizedStringKey' in scope
43 | showingAlert: Binding<Bool>,
44 | url: URL? = GrandAccessModifier.defaultSettingsURL
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:43:23: error: cannot find type 'Binding' in scope
41 | title: LocalizedStringKey,
42 | message: LocalizedStringKey,
43 | showingAlert: Binding<Bool>,
| `- error: cannot find type 'Binding' in scope
44 | url: URL? = GrandAccessModifier.defaultSettingsURL
45 | ) {
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:44:14: error: cannot find type 'URL' in scope
42 | message: LocalizedStringKey,
43 | showingAlert: Binding<Bool>,
44 | url: URL? = GrandAccessModifier.defaultSettingsURL
| `- error: cannot find type 'URL' in scope
45 | ) {
46 | self.title = title
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:48: error: cannot find type 'View' in scope
50 | }
51 |
52 | public func body(content: Content) -> some View {
| `- error: cannot find type 'View' in scope
53 | if #unavailable(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0) {
54 | content
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:43: error: 'some' types are only permitted in properties, subscripts, and functions
50 | }
51 |
52 | public func body(content: Content) -> some View {
| `- error: 'some' types are only permitted in properties, subscripts, and functions
53 | if #unavailable(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0) {
54 | content
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:31: error: cannot find type 'Content' in scope
50 | }
51 |
52 | public func body(content: Content) -> some View {
| `- error: cannot find type 'Content' in scope
53 | if #unavailable(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0) {
54 | content
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:86:43: error: cannot find type 'URL' in scope
84 | }
85 |
86 | public static var defaultSettingsURL: URL? {
| `- error: cannot find type 'URL' in scope
87 | #if os(iOS) || os(tvOS)
88 | return URL(string: UIApplication.openSettingsURLString)
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:25:36: error: cannot find type 'ViewModifier' in scope
23 | /// Show grand access alert
24 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
25 | public struct GrandAccessModifier: ViewModifier {
| `- error: cannot find type 'ViewModifier' in scope
26 |
27 | /// Text of title
[8/10] Compiling grand_access GrandAccessModifier.swift
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:28:16: error: cannot find type 'LocalizedStringKey' in scope
26 |
27 | /// Text of title
28 | let title: LocalizedStringKey
| `- error: cannot find type 'LocalizedStringKey' in scope
29 |
30 | /// The main message
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:31:18: error: cannot find type 'LocalizedStringKey' in scope
29 |
30 | /// The main message
31 | let message: LocalizedStringKey
| `- error: cannot find type 'LocalizedStringKey' in scope
32 |
33 | /// Binding to on/off alert
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:34:6: error: unknown attribute 'Binding'
32 |
33 | /// Binding to on/off alert
34 | @Binding var showingAlert: Bool
| `- error: unknown attribute 'Binding'
35 |
36 | let url: URL?
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:36:14: error: cannot find type 'URL' in scope
34 | @Binding var showingAlert: Bool
35 |
36 | let url: URL?
| `- error: cannot find type 'URL' in scope
37 |
38 | // MARK: - Life circle
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:41:16: error: cannot find type 'LocalizedStringKey' in scope
39 |
40 | public init(
41 | title: LocalizedStringKey,
| `- error: cannot find type 'LocalizedStringKey' in scope
42 | message: LocalizedStringKey,
43 | showingAlert: Binding<Bool>,
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:42:18: error: cannot find type 'LocalizedStringKey' in scope
40 | public init(
41 | title: LocalizedStringKey,
42 | message: LocalizedStringKey,
| `- error: cannot find type 'LocalizedStringKey' in scope
43 | showingAlert: Binding<Bool>,
44 | url: URL? = GrandAccessModifier.defaultSettingsURL
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:43:23: error: cannot find type 'Binding' in scope
41 | title: LocalizedStringKey,
42 | message: LocalizedStringKey,
43 | showingAlert: Binding<Bool>,
| `- error: cannot find type 'Binding' in scope
44 | url: URL? = GrandAccessModifier.defaultSettingsURL
45 | ) {
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:44:14: error: cannot find type 'URL' in scope
42 | message: LocalizedStringKey,
43 | showingAlert: Binding<Bool>,
44 | url: URL? = GrandAccessModifier.defaultSettingsURL
| `- error: cannot find type 'URL' in scope
45 | ) {
46 | self.title = title
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:48: error: cannot find type 'View' in scope
50 | }
51 |
52 | public func body(content: Content) -> some View {
| `- error: cannot find type 'View' in scope
53 | if #unavailable(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0) {
54 | content
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:43: error: 'some' types are only permitted in properties, subscripts, and functions
50 | }
51 |
52 | public func body(content: Content) -> some View {
| `- error: 'some' types are only permitted in properties, subscripts, and functions
53 | if #unavailable(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0) {
54 | content
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:52:31: error: cannot find type 'Content' in scope
50 | }
51 |
52 | public func body(content: Content) -> some View {
| `- error: cannot find type 'Content' in scope
53 | if #unavailable(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0) {
54 | content
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:86:43: error: cannot find type 'URL' in scope
84 | }
85 |
86 | public static var defaultSettingsURL: URL? {
| `- error: cannot find type 'URL' in scope
87 | #if os(iOS) || os(tvOS)
88 | return URL(string: UIApplication.openSettingsURLString)
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:25:36: error: cannot find type 'ViewModifier' in scope
23 | /// Show grand access alert
24 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
25 | public struct GrandAccessModifier: ViewModifier {
| `- error: cannot find type 'ViewModifier' in scope
26 |
27 | /// Text of title
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:49:14: error: value of type 'GrandAccessModifier' has no member '_showingAlert'
47 | self.message = message
48 | self.url = url
49 | self._showingAlert = showingAlert
| `- error: value of type 'GrandAccessModifier' has no member '_showingAlert'
50 | }
51 |
[9/10] Compiling grand_access resource_bundle_accessor.swift
[10/10] Compiling grand_access Permission.swift
BUILD FAILURE 6.0 linux