The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ObjectAssociation, reference main (93806c), with Swift 6.1 for Android on 29 May 2025 03:48:53 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/p-x9/swift-object-association.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/p-x9/swift-object-association
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 93806cf Merge pull request #10 from p-x9/version/0.5.0
Cloned https://github.com/p-x9/swift-object-association.git
Revision (git rev-parse @):
93806cfecae1f198c894ed5585b93aff0e2d1f5a
SUCCESS checkout https://github.com/p-x9/swift-object-association.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/p-x9/swift-object-association.git
https://github.com/p-x9/swift-object-association.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c17",
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "ObjectAssociation",
  "name" : "ObjectAssociation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ObjectAssociation",
      "targets" : [
        "ObjectAssociation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftRetain",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRetain",
      "path" : "Sources/SwiftRetain",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "Retain.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectAssociationTests",
      "module_type" : "SwiftTarget",
      "name" : "ObjectAssociationTests",
      "path" : "Tests/ObjectAssociationTests",
      "sources" : [
        "Model/ClassItem.swift",
        "ObjectAssociationTests.swift"
      ],
      "target_dependencies" : [
        "ObjectAssociation",
        "ObjectAssociationRuntime"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObjectAssociationRuntimeC",
      "module_type" : "ClangTarget",
      "name" : "ObjectAssociationRuntimeC",
      "path" : "Sources/ObjectAssociationRuntimeC",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "associated.cpp",
        "reference/reference.cpp"
      ],
      "target_dependencies" : [
        "SwiftRetain"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectAssociationRuntime",
      "module_type" : "SwiftTarget",
      "name" : "ObjectAssociationRuntime",
      "path" : "Sources/ObjectAssociationRuntime",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "ObjectAssociationRuntime.swift"
      ],
      "target_dependencies" : [
        "ObjectAssociationRuntimeC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectAssociation",
      "module_type" : "SwiftTarget",
      "name" : "ObjectAssociation",
      "path" : "Sources/ObjectAssociation",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "Model/Policy.swift",
        "Model/Ref.swift",
        "ObjectAssociation.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "ObjectAssociationRuntime"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/6] Write sources
[3/6] Write swift-version-24593BA9C3E375BF.txt
[5/8] Emitting module SwiftRetain
[6/8] Compiling SwiftRetain Retain.swift
[7/9] Compiling ObjectAssociationRuntimeC associated.cpp
[8/9] Compiling reference.cpp
[10/11] Compiling ObjectAssociationRuntime ObjectAssociationRuntime.swift
[11/11] Emitting module ObjectAssociationRuntime
[13/17] Compiling ObjectAssociation Util.swift
[14/17] Emitting module ObjectAssociation
/host/spi-builder-workspace/Sources/ObjectAssociation/ObjectAssociation.swift:59:13: warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private var _initAssociations: Bool = {
   |             |- warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_initAssociations' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_initAssociations' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |     swift_initAssociations()
61 |     return true
[15/17] Compiling ObjectAssociation Ref.swift
[16/17] Compiling ObjectAssociation ObjectAssociation.swift
/host/spi-builder-workspace/Sources/ObjectAssociation/ObjectAssociation.swift:59:13: warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private var _initAssociations: Bool = {
   |             |- warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_initAssociations' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_initAssociations' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |     swift_initAssociations()
61 |     return true
[17/17] Compiling ObjectAssociation Policy.swift
Build complete! (19.91s)
Build complete.
{
  "c_language_standard" : "c17",
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "ObjectAssociation",
  "name" : "ObjectAssociation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ObjectAssociation",
      "targets" : [
        "ObjectAssociation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftRetain",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRetain",
      "path" : "Sources/SwiftRetain",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "Retain.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectAssociationTests",
      "module_type" : "SwiftTarget",
      "name" : "ObjectAssociationTests",
      "path" : "Tests/ObjectAssociationTests",
      "sources" : [
        "Model/ClassItem.swift",
        "ObjectAssociationTests.swift"
      ],
      "target_dependencies" : [
        "ObjectAssociation",
        "ObjectAssociationRuntime"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObjectAssociationRuntimeC",
      "module_type" : "ClangTarget",
      "name" : "ObjectAssociationRuntimeC",
      "path" : "Sources/ObjectAssociationRuntimeC",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "associated.cpp",
        "reference/reference.cpp"
      ],
      "target_dependencies" : [
        "SwiftRetain"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectAssociationRuntime",
      "module_type" : "SwiftTarget",
      "name" : "ObjectAssociationRuntime",
      "path" : "Sources/ObjectAssociationRuntime",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "ObjectAssociationRuntime.swift"
      ],
      "target_dependencies" : [
        "ObjectAssociationRuntimeC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectAssociation",
      "module_type" : "SwiftTarget",
      "name" : "ObjectAssociation",
      "path" : "Sources/ObjectAssociation",
      "product_memberships" : [
        "ObjectAssociation"
      ],
      "sources" : [
        "Model/Policy.swift",
        "Model/Ref.swift",
        "ObjectAssociation.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "ObjectAssociationRuntime"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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.