The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-feed, reference main (9b7691), with Swift 6.1 for Android on 14 Feb 2026 18:39:53 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yaochenfeng/swift-feed.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/yaochenfeng/swift-feed
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9b76914 init commit
Cloned https://github.com/yaochenfeng/swift-feed.git
Revision (git rev-parse @):
9b769145021fa8b9145ce83f6701dedf1aba8cdb
SUCCESS checkout https://github.com/yaochenfeng/swift-feed.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yaochenfeng/swift-feed.git
https://github.com/yaochenfeng/swift-feed.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-feed",
  "name" : "swift-feed",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swift-feed",
      "targets" : [
        "FeedUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FeedUITests",
      "module_type" : "SwiftTarget",
      "name" : "FeedUITests",
      "path" : "Tests/FeedUITests",
      "sources" : [
        "swift_feedTests.swift"
      ],
      "target_dependencies" : [
        "FeedUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FeedUI",
      "module_type" : "SwiftTarget",
      "name" : "FeedUI",
      "path" : "Sources/FeedUI",
      "product_memberships" : [
        "swift-feed"
      ],
      "sources" : [
        "Core/FeedContentKind.swift",
        "Core/FeedContentType.swift",
        "Core/FeedItem.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling FeedUI FeedContentKind.swift
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:17:16: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
15 |
16 | public extension FeedContentKind {
17 |     static let text = Self(rawValue: "text")
   |                |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     static let image = Self(rawValue: "image")
19 |     static let video = Self(rawValue: "video")
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:18:16: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
16 | public extension FeedContentKind {
17 |     static let text = Self(rawValue: "text")
18 |     static let image = Self(rawValue: "image")
   |                |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     static let video = Self(rawValue: "video")
20 |     static let group = Self(rawValue: "group")
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:19:16: warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
17 |     static let text = Self(rawValue: "text")
18 |     static let image = Self(rawValue: "image")
19 |     static let video = Self(rawValue: "video")
   |                |- warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'video' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     static let group = Self(rawValue: "group")
21 | }
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:20:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
18 |     static let image = Self(rawValue: "image")
19 |     static let video = Self(rawValue: "video")
20 |     static let group = Self(rawValue: "group")
   |                |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[4/6] Compiling FeedUI FeedContentType.swift
[5/6] Emitting module FeedUI
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:17:16: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
15 |
16 | public extension FeedContentKind {
17 |     static let text = Self(rawValue: "text")
   |                |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     static let image = Self(rawValue: "image")
19 |     static let video = Self(rawValue: "video")
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:18:16: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
16 | public extension FeedContentKind {
17 |     static let text = Self(rawValue: "text")
18 |     static let image = Self(rawValue: "image")
   |                |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     static let video = Self(rawValue: "video")
20 |     static let group = Self(rawValue: "group")
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:19:16: warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
17 |     static let text = Self(rawValue: "text")
18 |     static let image = Self(rawValue: "image")
19 |     static let video = Self(rawValue: "video")
   |                |- warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'video' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     static let group = Self(rawValue: "group")
21 | }
/host/spi-builder-workspace/Sources/FeedUI/Core/FeedContentKind.swift:20:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct FeedContentKind: RawRepresentable, Hashable, Codable {
   |               `- note: consider making struct 'FeedContentKind' conform to the 'Sendable' protocol
 9 |     public let rawValue: String
10 |
   :
18 |     static let image = Self(rawValue: "image")
19 |     static let video = Self(rawValue: "video")
20 |     static let group = Self(rawValue: "group")
   |                |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'FeedContentKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[6/6] Compiling FeedUI FeedItem.swift
Build complete! (10.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-feed",
  "name" : "swift-feed",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swift-feed",
      "targets" : [
        "FeedUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FeedUITests",
      "module_type" : "SwiftTarget",
      "name" : "FeedUITests",
      "path" : "Tests/FeedUITests",
      "sources" : [
        "swift_feedTests.swift"
      ],
      "target_dependencies" : [
        "FeedUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FeedUI",
      "module_type" : "SwiftTarget",
      "name" : "FeedUI",
      "path" : "Sources/FeedUI",
      "product_memberships" : [
        "swift-feed"
      ],
      "sources" : [
        "Core/FeedContentKind.swift",
        "Core/FeedContentType.swift",
        "Core/FeedItem.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.