The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Earth, reference master (9a62a2), with Swift 6.1 for Android on 28 May 2025 01:40:17 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/leacode/Earth.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/leacode/Earth
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9a62a26 Support getting Resources in SPM
Cloned https://github.com/leacode/Earth.git
Revision (git rev-parse @):
9a62a26953a37a4ae4e35dfccb5af02e73b065ff
SUCCESS checkout https://github.com/leacode/Earth.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/leacode/Earth.git
https://github.com/leacode/Earth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "Earth",
  "name" : "Earth",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Earth",
      "targets" : [
        "Earth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Earth",
      "module_type" : "SwiftTarget",
      "name" : "Earth",
      "path" : "Sources/Earth",
      "product_memberships" : [
        "Earth"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ar.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ar"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/countries.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/el.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "el"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/es-419.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es-419"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/fi.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fi"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/fr-CA.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr-ca"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/id.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "id"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/it.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ko.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ko"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ro.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ro"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/sv.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "sv"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/th.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "th"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/tr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "tr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/uk.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "uk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/zh-HK.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "Country.swift",
        "CountryKit.swift",
        "Earth.swift",
        "Enums.swift",
        "Helpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/27] Write sources
[0/27] Copying Localizable.strings
[0/27] Copying countries.json
[0/27] Copying Localizable.strings
[0/27] Copying Info.plist
[0/27] Copying Localizable.strings
[25/27] Copying Media.xcassets
[26/27] Write swift-version-24593BA9C3E375BF.txt
[28/34] Emitting module Earth
/host/spi-builder-workspace/Sources/Earth/CountryKit.swift:29:23: warning: static property 'countries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     #endif
28 |
29 |     public static var countries: [Country] = {
   |                       |- warning: static property 'countries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'countries' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'countries' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |         guard let path = Bundle.module.url(forResource: "countries", withExtension: "json"),
[29/34] Compiling Earth Country.swift
[30/34] Compiling Earth CountryKit.swift
/host/spi-builder-workspace/Sources/Earth/CountryKit.swift:29:23: warning: static property 'countries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     #endif
28 |
29 |     public static var countries: [Country] = {
   |                       |- warning: static property 'countries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'countries' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'countries' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |         guard let path = Bundle.module.url(forResource: "countries", withExtension: "json"),
[31/34] Compiling Earth Enums.swift
[32/34] Compiling Earth resource_bundle_accessor.swift
[33/34] Compiling Earth Helpers.swift
[34/34] Compiling Earth Earth.swift
Build complete! (8.28s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "Earth",
  "name" : "Earth",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Earth",
      "targets" : [
        "Earth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Earth",
      "module_type" : "SwiftTarget",
      "name" : "Earth",
      "path" : "Sources/Earth",
      "product_memberships" : [
        "Earth"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ar.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ar"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/countries.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/el.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "el"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/es-419.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es-419"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/fi.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fi"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/fr-CA.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr-ca"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/id.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "id"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/it.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ko.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ko"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ro.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ro"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/sv.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "sv"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/th.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "th"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/tr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "tr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/uk.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "uk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/zh-HK.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Earth/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "Country.swift",
        "CountryKit.swift",
        "Earth.swift",
        "Enums.swift",
        "Helpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.