The Swift Package Index logo.Swift Package Index

Build Information

Successful build of datapackage-swift, reference main (ceaa63), with Swift 6.1 for Android on 28 May 2025 11:37:21 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/frictionlessdata/datapackage-swift.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/frictionlessdata/datapackage-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ceaa638 GH-2: Prep for 1.0 release.
Cloned https://github.com/frictionlessdata/datapackage-swift.git
Revision (git rev-parse @):
ceaa638cee026d096e1ae49c89177b101a1b726a
SUCCESS checkout https://github.com/frictionlessdata/datapackage-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/frictionlessdata/datapackage-swift.git
https://github.com/frictionlessdata/datapackage-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "tableschema-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/frictionlessdata/tableschema-swift.git"
    }
  ],
  "manifest_display_name" : "datapackage-swift",
  "name" : "datapackage-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataPackage",
      "targets" : [
        "DataPackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "datapackage-swift",
      "targets" : [
        "DataPackageCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "TabularPackageTests",
      "module_type" : "SwiftTarget",
      "name" : "TabularPackageTests",
      "path" : "Tests/TabularPackageTests",
      "sources" : [
        "FieldTests.swift",
        "ForeignKeyTests.swift",
        "SchemaTests.swift",
        "TabularPackageTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageTests",
      "path" : "Tests/PackageTests",
      "sources" : [
        "PackageTests.swift",
        "RegistryTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataPackageCLI",
      "module_type" : "SwiftTarget",
      "name" : "DataPackageCLI",
      "path" : "Sources/CommandLineInterface",
      "product_memberships" : [
        "datapackage-swift"
      ],
      "sources" : [
        "Log.swift",
        "Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "DataPackage"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DataPackage",
      "module_type" : "SwiftTarget",
      "name" : "DataPackage",
      "path" : "Sources/DataPackage",
      "product_dependencies" : [
        "TableSchema"
      ],
      "product_memberships" : [
        "DataPackage",
        "datapackage-swift"
      ],
      "sources" : [
        "Dictionary.swift",
        "Log.swift",
        "Package/Contributor.swift",
        "Package/License.swift",
        "Package/Package.swift",
        "Package/Resource.swift",
        "Package/Source.swift",
        "Profile.swift",
        "Registry.swift",
        "Serializable.swift",
        "TabularPackage/CSVDialect.swift",
        "TabularPackage/TableSchema/Field.swift",
        "TabularPackage/TableSchema/ForeignKey.swift",
        "TabularPackage/TableSchema/Schema.swift",
        "TabularPackage/TabularPackage.swift",
        "TabularPackage/TabularResource.swift",
        "Validatable.swift",
        "Verifiable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Fetching https://github.com/frictionlessdata/tableschema-swift.git
[1/60] Fetching tableschema-swift
Fetched https://github.com/frictionlessdata/tableschema-swift.git from cache (0.63s)
Computing version for https://github.com/frictionlessdata/tableschema-swift.git
Computed https://github.com/frictionlessdata/tableschema-swift.git at 1.0.0 (1.27s)
Creating working copy for https://github.com/frictionlessdata/tableschema-swift.git
Working copy of https://github.com/frictionlessdata/tableschema-swift.git resolved at 1.0.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/14] Emitting module TableSchema
[6/14] Compiling TableSchema Field.swift
[7/14] Compiling TableSchema ForeignKey.swift
[8/14] Compiling TableSchema Table.swift
[9/14] Compiling TableSchema Schema.swift
[10/15] Wrapping AST for TableSchema for debugging
[12/32] Emitting module DataPackage
/host/spi-builder-workspace/Sources/DataPackage/Registry.swift:8:16: warning: static property 'defaultProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 |     var profiles = [String: Profile.Type]()
 8 |     static var defaultProfile: String = "default"
   |                |- warning: static property 'defaultProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultProfile' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultProfile' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /**
[13/34] Compiling DataPackage Dictionary.swift
[14/34] Compiling DataPackage Log.swift
[15/34] Compiling DataPackage Contributor.swift
[16/34] Compiling DataPackage Validatable.swift
[17/34] Compiling DataPackage Verifiable.swift
[18/34] Compiling DataPackage Registry.swift
/host/spi-builder-workspace/Sources/DataPackage/Registry.swift:8:16: warning: static property 'defaultProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 |     var profiles = [String: Profile.Type]()
 8 |     static var defaultProfile: String = "default"
   |                |- warning: static property 'defaultProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultProfile' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultProfile' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /**
[19/34] Compiling DataPackage Serializable.swift
/host/spi-builder-workspace/Sources/DataPackage/Registry.swift:8:16: warning: static property 'defaultProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 |     var profiles = [String: Profile.Type]()
 8 |     static var defaultProfile: String = "default"
   |                |- warning: static property 'defaultProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultProfile' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultProfile' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /**
[20/34] Compiling DataPackage ForeignKey.swift
[21/34] Compiling DataPackage Schema.swift
[22/34] Compiling DataPackage CSVDialect.swift
[23/34] Compiling DataPackage Field.swift
[24/34] Compiling DataPackage Source.swift
[25/34] Compiling DataPackage Profile.swift
[26/34] Compiling DataPackage TabularPackage.swift
[27/34] Compiling DataPackage TabularResource.swift
[28/34] Compiling DataPackage License.swift
[29/34] Compiling DataPackage Package.swift
[30/34] Compiling DataPackage Resource.swift
[31/35] Wrapping AST for DataPackage for debugging
[33/39] Compiling DataPackageCLI Log.swift
[34/39] Emitting module DataPackageCLI
[35/39] Compiling DataPackageCLI Version.swift
[36/39] Compiling DataPackageCLI main.swift
[37/40] Wrapping AST for DataPackageCLI for debugging
[38/40] Write Objects.LinkFileList
[39/40] Linking datapackage-swift
Build complete! (16.62s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "tableschema-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/frictionlessdata/tableschema-swift.git"
    }
  ],
  "manifest_display_name" : "datapackage-swift",
  "name" : "datapackage-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataPackage",
      "targets" : [
        "DataPackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "datapackage-swift",
      "targets" : [
        "DataPackageCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "TabularPackageTests",
      "module_type" : "SwiftTarget",
      "name" : "TabularPackageTests",
      "path" : "Tests/TabularPackageTests",
      "sources" : [
        "FieldTests.swift",
        "ForeignKeyTests.swift",
        "SchemaTests.swift",
        "TabularPackageTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageTests",
      "path" : "Tests/PackageTests",
      "sources" : [
        "PackageTests.swift",
        "RegistryTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataPackageCLI",
      "module_type" : "SwiftTarget",
      "name" : "DataPackageCLI",
      "path" : "Sources/CommandLineInterface",
      "product_memberships" : [
        "datapackage-swift"
      ],
      "sources" : [
        "Log.swift",
        "Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "DataPackage"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DataPackage",
      "module_type" : "SwiftTarget",
      "name" : "DataPackage",
      "path" : "Sources/DataPackage",
      "product_dependencies" : [
        "TableSchema"
      ],
      "product_memberships" : [
        "DataPackage",
        "datapackage-swift"
      ],
      "sources" : [
        "Dictionary.swift",
        "Log.swift",
        "Package/Contributor.swift",
        "Package/License.swift",
        "Package/Package.swift",
        "Package/Resource.swift",
        "Package/Source.swift",
        "Profile.swift",
        "Registry.swift",
        "Serializable.swift",
        "TabularPackage/CSVDialect.swift",
        "TabularPackage/TableSchema/Field.swift",
        "TabularPackage/TableSchema/ForeignKey.swift",
        "TabularPackage/TableSchema/Schema.swift",
        "TabularPackage/TabularPackage.swift",
        "TabularPackage/TabularResource.swift",
        "Validatable.swift",
        "Verifiable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
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.