Build Information
Failed to build grand-access, reference 1.0.0 (da3e17
), with Swift 5.9 for Linux on 22 Aug 2024 09:05:52 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/grand-access.git
Reference: 1.0.0
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
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at da3e17d Update README.md
Cloned https://github.com/igor11191708/grand-access.git
Revision (git rev-parse @):
da3e17d254041224c1515b05ca698ee2dff657b7
SUCCESS checkout https://github.com/igor11191708/grand-access.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/4] Copying Localizable.strings
[0/4] Copying Info.plist
[0/4] Copying Localizable.strings
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling grand_access Permission.swift
[6/8] Compiling grand_access resource_bundle_accessor.swift
[7/8] 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 {
^~~~~~~~~~~~
[8/8] 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.9 linux