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 FlagAndCountryCode, reference 1.1.2 (1a7d7e), with Swift 5.10 for macOS (SPM) on 3 Jul 2024 19:18:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exyte/FlagAndCountryCode.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/FlagAndCountryCode
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at 1a7d7ef Update readme
Cloned https://github.com/exyte/FlagAndCountryCode.git
Revision (git rev-parse @):
1a7d7efa11bc1a73aec119acf0c3d902c62cdca6
SUCCESS checkout https://github.com/exyte/FlagAndCountryCode.git at 1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "flagandcountrycode",
      "name": "FlagAndCountryCode",
      "url": "https://github.com/exyte/FlagAndCountryCode.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FlagAndCountryCode",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/exyte/FlagAndCountryCode.git
[1/1556] Fetching flagandcountrycode
Fetched https://github.com/exyte/FlagAndCountryCode.git from cache (1.62s)
Creating working copy for https://github.com/exyte/FlagAndCountryCode.git
Working copy of https://github.com/exyte/FlagAndCountryCode.git resolved at 1.1.2 (1a7d7ef)
warning: '.resolve-product-dependencies': dependency 'flagandcountrycode' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/exyte/FlagAndCountryCode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[0/4] Copying country-codes.json
[2/4] Write swift-version-33747A42983211AE.txt
[3/4] Copying CountryFlags.xcassets
[5/11] Compiling FlagAndCountryCode resource_bundle_accessor.swift
[6/11] Compiling FlagAndCountryCode BundleToken.swift
[7/11] Compiling FlagAndCountryCode CountryFlagsParser.swift
[8/11] Compiling FlagAndCountryCode ImageRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:50: error: 'View' is only available in macOS 10.15 or newer
    func applyFlagType(_ type: FlagType) -> some View {
                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:55:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
    @ViewBuilder
     ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:20: error: 'Image' is only available in macOS 10.15 or newer
internal extension Image {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:60:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
                .frame(width: type.size.width, height: type.size.height)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:60:18: note: add 'if #available' version check
                .frame(width: type.size.width, height: type.size.height)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
                .clipShape(Circle())
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:18: note: add 'if #available' version check
                .clipShape(Circle())
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:28: error: 'Circle' is only available in macOS 10.15 or newer
                .clipShape(Circle())
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:28: note: add 'if #available' version check
                .clipShape(Circle())
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: note: add 'if #available' version check
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: note: add 'if #available' version check
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:64:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
                .frame(width: type.size.width, height: type.size.height)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:64:18: note: add 'if #available' version check
                .frame(width: type.size.width, height: type.size.height)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
                .clipShape(Rectangle())
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:18: note: add 'if #available' version check
                .clipShape(Rectangle())
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:28: error: 'Rectangle' is only available in macOS 10.15 or newer
                .clipShape(Rectangle())
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:28: note: add 'if #available' version check
                .clipShape(Rectangle())
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: note: add 'if #available' version check
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: note: add 'if #available' version check
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:68:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
                .frame(width: type.size.width, height: type.size.height)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:68:18: note: add 'if #available' version check
                .frame(width: type.size.width, height: type.size.height)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
                .clipShape(RoundedRectangle(cornerRadius: 2))
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:18: note: add 'if #available' version check
                .clipShape(RoundedRectangle(cornerRadius: 2))
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:28: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
                .clipShape(RoundedRectangle(cornerRadius: 2))
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:28: note: add 'if #available' version check
                .clipShape(RoundedRectangle(cornerRadius: 2))
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:67:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:67:13: note: add 'if #available' version check
            self
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:55: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    func applyFlagType(_ type: FlagType) -> some View {
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:55: note: add 'if #available' version check
    func applyFlagType(_ type: FlagType) -> some View {
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Compiling FlagAndCountryCode FlagType.swift
[10/11] Emitting module FlagAndCountryCode
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:77: error: 'View' is only available in macOS 10.15 or newer
    public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
    public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:50: error: 'View' is only available in macOS 10.15 or newer
    func applyFlagType(_ type: FlagType) -> some View {
                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:55:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
    @ViewBuilder
     ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
    func applyFlagType(_ type: FlagType) -> some View {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:20: error: 'Image' is only available in macOS 10.15 or newer
internal extension Image {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
         ^
[11/11] Compiling FlagAndCountryCode CountryFlagInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:77: error: 'View' is only available in macOS 10.15 or newer
    public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
    public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: error: 'Image' is only available in macOS 10.15 or newer
        let image = Image(code, bundle: Bundle.current)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: note: add 'if #available' version check
        let image = Image(code, bundle: Bundle.current)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
    public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
        let image = Image(code, bundle: Bundle.current)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: note: add 'if #available' version check
        let image = Image(code, bundle: Bundle.current)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
    public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm