Build Information
Failed to build SettingsAccess, reference 2.1.0 (08e80c
), with Swift 5.9 for Linux on 25 Nov 2024 09:49:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/SettingsAccess.git
Reference: 2.1.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/orchetect/SettingsAccess
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 08e80c3 Updated README
Cloned https://github.com/orchetect/SettingsAccess.git
Revision (git rev-parse @):
08e80c35501f273afa2f5d6f737429bbe395ff81
SUCCESS checkout https://github.com/orchetect/SettingsAccess.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/orchetect/SettingsAccess.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
7478e0ac0f23: Already exists
3693af61a934: Pulling fs layer
a39079efbd11: Pulling fs layer
90a3b66c7651: Pulling fs layer
7ae8c926855a: Pulling fs layer
91959a240b9c: Pulling fs layer
7ae8c926855a: Waiting
91959a240b9c: Waiting
90a3b66c7651: Download complete
3693af61a934: Verifying Checksum
3693af61a934: Download complete
91959a240b9c: Verifying Checksum
91959a240b9c: Download complete
7ae8c926855a: Verifying Checksum
7ae8c926855a: Download complete
a39079efbd11: Verifying Checksum
a39079efbd11: Download complete
3693af61a934: Pull complete
a39079efbd11: Pull complete
90a3b66c7651: Pull complete
7ae8c926855a: Pull complete
91959a240b9c: Pull complete
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/8] Compiling SettingsAccess OpenSettingsInjectionView.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[2/9] Compiling SettingsAccess OpenSettingsAccessAction.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[3/9] Compiling SettingsAccess LegacyOpenSettingsError.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[4/9] Compiling SettingsAccess Utilities.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module SettingsAccess
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[6/9] Compiling SettingsAccess Environment.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[7/9] Compiling SettingsAccess PrePostActionsButtonStyle.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[8/9] Compiling SettingsAccess SettingsLink.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
[9/9] Compiling SettingsAccess OpenSettingsError.swift
/host/spi-builder-workspace/Sources/SettingsAccess/Environment.swift:16:45: error: attribute can only be applied to declarations, not types
@MainActor private struct OpenSettingsKey: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux