The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swiftui-theming, reference main (2a9001), with Swift 6.0 for Linux on 10 Mar 2025 13:54:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexanderwe/swiftui-theming.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/alexanderwe/swiftui-theming
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2a90014 fix(docs): fix minimum deployment targets of documentation
Cloned https://github.com/alexanderwe/swiftui-theming.git
Revision (git rev-parse @):
2a90014221bfedf2c9943819b89e142ba646a1d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/alexanderwe/swiftui-theming.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alexanderwe/swiftui-theming.git
https://github.com/alexanderwe/swiftui-theming.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-theming",
  "name" : "swiftui-theming",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Theming",
      "targets" : [
        "Theming"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThemingTests",
      "module_type" : "SwiftTarget",
      "name" : "ThemingTests",
      "path" : "Tests/ThemingTests",
      "sources" : [
        "Mocks.swift",
        "ThemeColorTests.swift",
        "ThemeFontTests.swift",
        "ThemeManagerTests.swift"
      ],
      "target_dependencies" : [
        "Theming"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Theming",
      "module_type" : "SwiftTarget",
      "name" : "Theming",
      "path" : "Sources/Theming",
      "product_memberships" : [
        "Theming"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Theming/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Extensions/EnvironmentValues+Theming.swift",
        "Theme+Colors/ThemeColor.swift",
        "Theme+Colors/ThemeColorStyle.swift",
        "Theme+Fonts/ThemeFont.swift",
        "Theme.swift",
        "ThemeManager.swift",
        "ThemeTraits.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Theming ThemeFont.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[5/12] Compiling Theming ThemeTraits.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[6/12] Compiling Theming ThemeManager.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[7/12] Compiling Theming Theme.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[8/12] Compiling Theming resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module Theming
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[10/12] Compiling Theming EnvironmentValues+Theming.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[11/12] Compiling Theming ThemeColor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[12/12] Compiling Theming ThemeColorStyle.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Theming ThemeTraits.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[3/10] Compiling Theming EnvironmentValues+Theming.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[4/10] Compiling Theming ThemeColor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[5/10] Compiling Theming ThemeColorStyle.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[6/10] Compiling Theming ThemeFont.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[7/10] Compiling Theming Theme.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[8/10] Compiling Theming ThemeManager.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module Theming
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
[10/10] Compiling Theming resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Theming/Extensions/EnvironmentValues+Theming.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 | #if os(iOS) || os(visionOS)
10 | import UIKit
BUILD FAILURE 6.0 linux