Build Information
Failed to build grand-access, reference main (988a45
), with Swift 5.8 for Linux on 14 Sep 2024 19:18:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.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.8
Building package at path: $PWD
https://github.com/igor11191708/grand-access.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
[0/4] Copying Localizable.strings
[2/4] Copying Info.plist
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling grand_access GrandAccessModifier.swift
/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: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: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:49:14: error: value of type 'GrandAccessModifier' has no member '_showingAlert'
self._showingAlert = showingAlert
~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:55:37: error: cannot find '$showingAlert' in scope
.alert(isPresented: $showingAlert) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:56:21: error: cannot find 'Alert' in scope
Alert(title: Text(title, bundle: .module),
^~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:56:34: error: cannot find 'Text' in scope
Alert(title: Text(title, bundle: .module),
^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:57:51: error: cannot find 'Text' in scope
primaryButton: .default(Text("not_now", bundle: .module), action: { }),
^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:58:53: error: cannot find 'Text' in scope
secondaryButton: .default(Text("settings", bundle: .module), action: { onSettings() })
^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:63:24: error: cannot find 'Text' in scope
.alert(Text(title, bundle: .module), isPresented: $showingAlert) {
^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:63:67: error: cannot find '$showingAlert' in scope
.alert(Text(title, bundle: .module), isPresented: $showingAlert) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:64:21: error: cannot find 'Button' in scope
Button(action: {}, label: {
^~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:65:25: error: cannot find 'Text' in scope
Text("not_now", bundle: .module)
^~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:67:21: error: cannot find 'Button' in scope
Button("settings", role: .none) { onSettings() }
^~~~~~
/host/spi-builder-workspace/Sources/grand-access/GrandAccessModifier.swift:69:21: error: cannot find 'Text' in scope
Text(message, bundle: .module)
^~~~
[6/8] Emitting module grand_access
/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: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: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? {
^~~
[7/8] Compiling grand_access Permission.swift
[8/8] Compiling grand_access resource_bundle_accessor.swift
BUILD FAILURE 5.8 linux