Build Information
Failed to build feature-flags, reference main (d732b0
), with Swift 6.1 for Linux on 16 Jun 2025 03:47:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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: 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/nashysolutions/feature-flags
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/nashysolutions/feature-flags.git
https://github.com/nashysolutions/feature-flags.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "versioning",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "2.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nashysolutions/versioning.git"
}
],
"manifest_display_name" : "feature-flags",
"name" : "feature-flags",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FeatureFlags",
"targets" : [
"FeatureFlags"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FeatureFlagsTests",
"module_type" : "SwiftTarget",
"name" : "FeatureFlagsTests",
"path" : "Tests/FeatureFlagsTests",
"sources" : [
"FeatureFlagTests.swift",
"FeatureFlagsTests.swift",
"FeatureRegistryTests.swift",
"UserOverrideManagerTests.swift"
],
"target_dependencies" : [
"FeatureFlags"
],
"type" : "test"
},
{
"c99name" : "FeatureFlags",
"module_type" : "SwiftTarget",
"name" : "FeatureFlags",
"path" : "Sources/FeatureFlags",
"product_dependencies" : [
"Versioning"
],
"product_memberships" : [
"FeatureFlags"
],
"sources" : [
"FeatureFlag.swift",
"FeatureFlags.swift",
"FeatureRegistry.swift",
"UserOverrideManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/nashysolutions/versioning.git
[1/80] Fetching versioning
Fetched https://github.com/nashysolutions/versioning.git from cache (0.16s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.2.0 (0.69s)
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...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Versioning
[5/5] Compiling Versioning SemanticVersion.swift
[7/11] Compiling FeatureFlags UserOverrideManager.swift
[8/11] Compiling FeatureFlags FeatureRegistry.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Compiling FeatureFlags FeatureFlag.swift
[10/11] Emitting module FeatureFlags
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
28 | /// A published property containing the list of currently enabled feature flags.
29 | /// Observers can use this property to react to changes in feature availability.
30 | @Published public private(set) var enabledFeatures: [FeatureFlag] = []
| `- error: unknown attribute 'Published'
31 |
32 | /// The registry responsible for managing the lifecycle and availability of feature flags.
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
24 | /// over default availability rules defined in the registry.
25 | @MainActor
26 | public final class FeatureFlags: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
27 |
28 | /// A published property containing the list of currently enabled feature flags.
[11/11] Compiling FeatureFlags FeatureFlags.swift
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
28 | /// A published property containing the list of currently enabled feature flags.
29 | /// Observers can use this property to react to changes in feature availability.
30 | @Published public private(set) var enabledFeatures: [FeatureFlag] = []
| `- error: unknown attribute 'Published'
31 |
32 | /// The registry responsible for managing the lifecycle and availability of feature flags.
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
24 | /// over default availability rules defined in the registry.
25 | @MainActor
26 | public final class FeatureFlags: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
27 |
28 | /// A published property containing the list of currently enabled feature flags.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module Versioning
[3/3] Compiling Versioning SemanticVersion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module FeatureFlags
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
28 | /// A published property containing the list of currently enabled feature flags.
29 | /// Observers can use this property to react to changes in feature availability.
30 | @Published public private(set) var enabledFeatures: [FeatureFlag] = []
| `- error: unknown attribute 'Published'
31 |
32 | /// The registry responsible for managing the lifecycle and availability of feature flags.
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
24 | /// over default availability rules defined in the registry.
25 | @MainActor
26 | public final class FeatureFlags: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
27 |
28 | /// A published property containing the list of currently enabled feature flags.
[6/9] Compiling FeatureFlags FeatureRegistry.swift
[7/9] Compiling FeatureFlags FeatureFlag.swift
[8/9] Compiling FeatureFlags UserOverrideManager.swift
[9/9] Compiling FeatureFlags FeatureFlags.swift
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
28 | /// A published property containing the list of currently enabled feature flags.
29 | /// Observers can use this property to react to changes in feature availability.
30 | @Published public private(set) var enabledFeatures: [FeatureFlag] = []
| `- error: unknown attribute 'Published'
31 |
32 | /// The registry responsible for managing the lifecycle and availability of feature flags.
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
24 | /// over default availability rules defined in the registry.
25 | @MainActor
26 | public final class FeatureFlags: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
27 |
28 | /// A published property containing the list of currently enabled feature flags.
BUILD FAILURE 6.1 linux