Build Information
Failed to build feature-flags, reference 1.2.1 (d732b0
), with Swift 5.9 for Linux on 15 Jun 2025 13:14:37 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/feature-flags.git
Reference: 1.2.1
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/nashysolutions/feature-flags
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at d732b08 Using https protocol for dependency.
Cloned https://github.com/nashysolutions/feature-flags.git
Revision (git rev-parse @):
d732b08ca3fe4a8b74e4c25fdede45e9632ef2ca
SUCCESS checkout https://github.com/nashysolutions/feature-flags.git at 1.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/nashysolutions/feature-flags.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:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/nashysolutions/versioning.git
[1/80] Fetching versioning
Fetched https://github.com/nashysolutions/versioning.git (0.29s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.2.0 (0.35s)
Creating working copy for https://github.com/nashysolutions/versioning.git
Working copy of https://github.com/nashysolutions/versioning.git resolved at 2.2.0
Building for debugging...
[1/2] Emitting module Versioning
[2/2] Compiling Versioning SemanticVersion.swift
[5/9] Compiling FeatureFlags UserOverrideManager.swift
[6/9] Compiling FeatureFlags FeatureRegistry.swift
[7/9] Compiling FeatureFlags FeatureFlags.swift
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
@Published public private(set) var enabledFeatures: [FeatureFlag] = []
^
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
public final class FeatureFlags: ObservableObject {
^~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Compiling FeatureFlags FeatureFlag.swift
[9/9] Emitting module FeatureFlags
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
@Published public private(set) var enabledFeatures: [FeatureFlag] = []
^
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
public final class FeatureFlags: ObservableObject {
^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux