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

Successful build of swift-android-native, reference 1.4.1 (64a515), with Swift 6.0 for Linux on 5 May 2025 16:49:56 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/swift-android-native.git
Reference: 1.4.1
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/skiptools/swift-android-native
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 64a5158
Cloned https://github.com/skiptools/swift-android-native.git
Revision (git rev-parse @):
64a51586e8caee479ba2e334be242f226730a222
SUCCESS checkout https://github.com/skiptools/swift-android-native.git at 1.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/skiptools/swift-android-native.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://source.skip.tools/swift-jni.git
[1/105] Fetching swift-jni
Fetched https://source.skip.tools/swift-jni.git from cache (0.60s)
Computing version for https://source.skip.tools/swift-jni.git
Computed https://source.skip.tools/swift-jni.git at 0.2.1 (0.59s)
Creating working copy for https://source.skip.tools/swift-jni.git
Working copy of https://source.skip.tools/swift-jni.git resolved at 0.2.1
Building for debugging...
[0/14] Write sources
[8/14] Compiling CJNI cjni.c
[9/14] Compiling ConcurrencyRuntimeC src.c
[10/14] Write swift-version-24593BA9C3E375BF.txt
[12/47] Emitting module AndroidLogging
[13/47] Compiling AndroidLogging AndroidLogging.swift
[14/48] Emitting module AndroidSystem
[15/51] Compiling AndroidSystem FileOperations.swift
[16/51] Compiling AndroidSystem FilePath.swift
[17/51] Compiling AndroidSystem FilePathComponentView.swift
[18/51] Compiling AndroidSystem FilePathComponents.swift
[20/51] Compiling AndroidSystem Util+StringArray.swift
[21/51] Compiling AndroidSystem Util.swift
[22/51] Compiling AndroidSystem UtilConsumers.swift
[23/51] Compiling AndroidSystem Errno.swift
[24/51] Compiling AndroidSystem ErrnoWindows.swift
[25/51] Compiling AndroidSystem FileDescriptor.swift
[26/51] Compiling AndroidSystem FileHelpers.swift
[27/51] Compiling AndroidSystem FilePathParsing.swift
[28/51] Compiling AndroidSystem FilePathString.swift
[29/51] Compiling AndroidSystem FilePathSyntax.swift
[30/51] Compiling AndroidSystem FilePathTemp.swift
[31/51] Compiling AndroidSystem LockedState.swift
[32/51] Compiling AndroidSystem MachPort.swift
[33/51] Compiling AndroidSystem PlatformString.swift
[34/51] Compiling AndroidSystem SystemString.swift
[35/51] Compiling AndroidSystem FilePathTempPosix.swift
[36/51] Compiling AndroidSystem FilePathTempWindows.swift
[37/51] Compiling AndroidSystem FilePathWindows.swift
[38/51] Compiling AndroidSystem FilePermissions.swift
[39/51] Compiling AndroidSystem Mocking.swift
[40/51] Compiling AndroidSystem RawBuffer.swift
[41/51] Compiling AndroidSystem Syscalls.swift
[42/51] Compiling AndroidSystem WindowsSyscallAdapters.swift
[43/51] Compiling AndroidSystem Backcompat.swift
[44/51] Compiling AndroidSystem CInterop.swift
[45/51] Compiling AndroidSystem Constants.swift
[46/51] Compiling AndroidSystem Exports.swift
[48/56] Emitting module AndroidLooper
[49/56] Compiling AndroidLooper AndroidLooper.swift
[51/57] Emitting module SwiftJNI
[52/57] Compiling SwiftJNI SwiftJNI.swift
[53/58] Wrapping AST for SwiftJNI for debugging
[54/58] Write Objects.LinkFileList
[56/58] Compiling AndroidChoreographer AndroidChoreographer.swift
[57/58] Emitting module AndroidChoreographer
[58/59] Linking libSwiftJNI.so
[60/61] Emitting module AndroidAssetManager
[61/61] Compiling AndroidAssetManager AndroidAssetManager.swift
/host/spi-builder-workspace/Sources/AndroidAssetManager/AndroidAssetManager.swift:122:36: warning: no calls to throwing functions occur within 'try' expression
120 |             var data = Data(count: len)
121 |
122 |             let bytesRead: Int32 = try data.withUnsafeMutableBytes { buffer in
    |                                    `- warning: no calls to throwing functions occur within 'try' expression
123 |                 #if !os(Android)
124 |                 fatalError("only implemented for Android")
[63/64] Compiling AndroidContext AndroidContext.swift
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:23:14: warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
21 | @available(tvOS, unavailable)
22 | @available(watchOS, unavailable)
23 | public class AndroidContext : JObject {
   |              `- warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
24 |     /// The JNI signature for the method to invoke to obtain the global Context.
25 |     /// This can be manually changed before initialization to a different signature.
[64/64] Emitting module AndroidContext
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:23:14: warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
21 | @available(tvOS, unavailable)
22 | @available(watchOS, unavailable)
23 | public class AndroidContext : JObject {
   |              `- warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
24 |     /// The JNI signature for the method to invoke to obtain the global Context.
25 |     /// This can be manually changed before initialization to a different signature.
[66/67] Compiling AndroidNative AndroidNative.swift
[67/67] Emitting module AndroidNative
Build complete! (12.85s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-jni",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://source.skip.tools/swift-jni.git"
    }
  ],
  "manifest_display_name" : "swift-android-native",
  "name" : "swift-android-native",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AndroidNative",
      "targets" : [
        "AndroidNative"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidContext",
      "targets" : [
        "AndroidContext"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidAssetManager",
      "targets" : [
        "AndroidAssetManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidLogging",
      "targets" : [
        "AndroidLogging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidLooper",
      "targets" : [
        "AndroidLooper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidChoreographer",
      "targets" : [
        "AndroidLooper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConcurrencyRuntimeC",
      "module_type" : "ClangTarget",
      "name" : "ConcurrencyRuntimeC",
      "path" : "Sources/ConcurrencyRuntimeC",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "sources" : [
        "src.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidSystemTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidSystemTests",
      "path" : "Tests/AndroidSystemTests",
      "sources" : [
        "AndroidSystemTests.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidSystem",
      "module_type" : "SwiftTarget",
      "name" : "AndroidSystem",
      "path" : "Sources/AndroidSystem",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "sources" : [
        "Errno.swift",
        "ErrnoWindows.swift",
        "FileDescriptor.swift",
        "FileHelpers.swift",
        "FileOperations.swift",
        "FilePath/FilePath.swift",
        "FilePath/FilePathComponentView.swift",
        "FilePath/FilePathComponents.swift",
        "FilePath/FilePathParsing.swift",
        "FilePath/FilePathString.swift",
        "FilePath/FilePathSyntax.swift",
        "FilePath/FilePathTemp.swift",
        "FilePath/FilePathTempPosix.swift",
        "FilePath/FilePathTempWindows.swift",
        "FilePath/FilePathWindows.swift",
        "FilePermissions.swift",
        "Internals/Backcompat.swift",
        "Internals/CInterop.swift",
        "Internals/Constants.swift",
        "Internals/Exports.swift",
        "Internals/Mocking.swift",
        "Internals/RawBuffer.swift",
        "Internals/Syscalls.swift",
        "Internals/WindowsSyscallAdapters.swift",
        "LockedState.swift",
        "MachPort.swift",
        "PlatformString.swift",
        "SystemString.swift",
        "Util+StringArray.swift",
        "Util.swift",
        "UtilConsumers.swift"
      ],
      "target_dependencies" : [
        "AndroidNDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidNativeTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidNativeTests",
      "path" : "Tests/AndroidNativeTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/AndroidNativeTests/Resources/sample_resource.txt",
          "rule" : {
            "embed_in_code" : {
            }
          }
        }
      ],
      "sources" : [
        "AndroidNativeTests.swift"
      ],
      "target_dependencies" : [
        "AndroidNative"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidNative",
      "module_type" : "SwiftTarget",
      "name" : "AndroidNative",
      "path" : "Sources/AndroidNative",
      "product_memberships" : [
        "AndroidNative"
      ],
      "sources" : [
        "AndroidNative.swift"
      ],
      "target_dependencies" : [
        "AndroidContext",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidNDK",
      "module_type" : "ClangTarget",
      "name" : "AndroidNDK",
      "path" : "Sources/AndroidNDK",
      "product_memberships" : [
        "AndroidNative",
        "AndroidContext",
        "AndroidAssetManager",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "sources" : [
        "src.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidLooperTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLooperTests",
      "path" : "Tests/AndroidLooperTests",
      "sources" : [
        "AndroidLooperTests.swift"
      ],
      "target_dependencies" : [
        "AndroidLooper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidLooper",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLooper",
      "path" : "Sources/AndroidLooper",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "sources" : [
        "AndroidLooper.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem",
        "AndroidLogging",
        "ConcurrencyRuntimeC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidLoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLoggingTests",
      "path" : "Tests/AndroidLoggingTests",
      "sources" : [
        "AndroidLoggingTests.swift"
      ],
      "target_dependencies" : [
        "AndroidLogging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidLogging",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLogging",
      "path" : "Sources/AndroidLogging",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "sources" : [
        "AndroidLogging.swift"
      ],
      "target_dependencies" : [
        "AndroidNDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidContextTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidContextTests",
      "path" : "Tests/AndroidContextTests",
      "sources" : [
        "AndroidContextTests.swift"
      ],
      "target_dependencies" : [
        "AndroidContext"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidContext",
      "module_type" : "SwiftTarget",
      "name" : "AndroidContext",
      "path" : "Sources/AndroidContext",
      "product_memberships" : [
        "AndroidNative",
        "AndroidContext"
      ],
      "sources" : [
        "AndroidContext.swift"
      ],
      "target_dependencies" : [
        "AndroidAssetManager",
        "AndroidNDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidChoreographerTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidChoreographerTests",
      "path" : "Tests/AndroidChoreographerTests",
      "sources" : [
        "AndroidChoreographerTests.swift"
      ],
      "target_dependencies" : [
        "AndroidChoreographer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidChoreographer",
      "module_type" : "SwiftTarget",
      "name" : "AndroidChoreographer",
      "path" : "Sources/AndroidChoreographer",
      "product_memberships" : [
        "AndroidNative"
      ],
      "sources" : [
        "AndroidChoreographer.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem",
        "AndroidLogging"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidAssetManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidAssetManagerTests",
      "path" : "Tests/AndroidAssetManagerTests",
      "sources" : [
        "AndroidAssetManagerTests.swift"
      ],
      "target_dependencies" : [
        "AndroidAssetManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidAssetManager",
      "module_type" : "SwiftTarget",
      "name" : "AndroidAssetManager",
      "path" : "Sources/AndroidAssetManager",
      "product_dependencies" : [
        "SwiftJNI"
      ],
      "product_memberships" : [
        "AndroidNative",
        "AndroidContext",
        "AndroidAssetManager"
      ],
      "sources" : [
        "AndroidAssetManager.swift"
      ],
      "target_dependencies" : [
        "AndroidNDK"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.