The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Carte, reference master (fb7d4f), with Swift 6.1 for Android on 27 May 2025 12:04:16 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devxoul/Carte.git
Reference: master
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/devxoul/Carte
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fb7d4f8 Bump version to 2.2.1
Cloned https://github.com/devxoul/Carte.git
Revision (git rev-parse @):
fb7d4f845e09e1ee9d6c8b36b7411c31adbe635d
SUCCESS checkout https://github.com/devxoul/Carte.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/devxoul/Carte.git
https://github.com/devxoul/Carte.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Carte",
  "name" : "Carte",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Carte",
      "targets" : [
        "Carte"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CarteTests",
      "module_type" : "SwiftTarget",
      "name" : "CarteTests",
      "path" : "Tests/CarteTests",
      "sources" : [
        "CarteTests.swift"
      ],
      "target_dependencies" : [
        "Carte"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Carte",
      "module_type" : "SwiftTarget",
      "name" : "Carte",
      "path" : "Sources/Carte",
      "product_memberships" : [
        "Carte"
      ],
      "sources" : [
        "Carte.swift",
        "CarteItem.swift",
        "CarteViewController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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 Carte CarteViewController.swift
[4/6] Compiling Carte Carte.swift
/host/spi-builder-workspace/Sources/Carte/Carte.swift:11:21: warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class Carte {
11 |   public static var infoDictionary: [String: Any]? = Bundle.main.infoDictionary {
   |                     |- warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'infoDictionary' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'infoDictionary' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     didSet {
13 |       self._items = nil
/host/spi-builder-workspace/Sources/Carte/Carte.swift:17:22: warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |   }
16 |
17 |   private static var _items: [CarteItem]? = nil
   |                      |- warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_items' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_items' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |   public static var items: [CarteItem] {
19 |     if let items = self._items {
[5/6] Emitting module Carte
/host/spi-builder-workspace/Sources/Carte/Carte.swift:11:21: warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class Carte {
11 |   public static var infoDictionary: [String: Any]? = Bundle.main.infoDictionary {
   |                     |- warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'infoDictionary' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'infoDictionary' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     didSet {
13 |       self._items = nil
/host/spi-builder-workspace/Sources/Carte/Carte.swift:17:22: warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |   }
16 |
17 |   private static var _items: [CarteItem]? = nil
   |                      |- warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_items' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_items' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |   public static var items: [CarteItem] {
19 |     if let items = self._items {
[6/6] Compiling Carte CarteItem.swift
Build complete! (10.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Carte",
  "name" : "Carte",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Carte",
      "targets" : [
        "Carte"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CarteTests",
      "module_type" : "SwiftTarget",
      "name" : "CarteTests",
      "path" : "Tests/CarteTests",
      "sources" : [
        "CarteTests.swift"
      ],
      "target_dependencies" : [
        "Carte"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Carte",
      "module_type" : "SwiftTarget",
      "name" : "Carte",
      "path" : "Sources/Carte",
      "product_memberships" : [
        "Carte"
      ],
      "sources" : [
        "Carte.swift",
        "CarteItem.swift",
        "CarteViewController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.