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 AgoraRTM, reference 2.2.4 (078399), with Swift 6.0 for Linux on 10 Apr 2025 02:59:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AgoraIO/AgoraRtm_Apple.git
Reference: 2.2.4
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/AgoraIO/AgoraRtm_Apple
 * tag               2.2.4      -> FETCH_HEAD
HEAD is now at 078399d Merge pull request #6 from AgoraIO/jira/RTM2-1601/release/4.3.51_rtm2
Cloned https://github.com/AgoraIO/AgoraRtm_Apple.git
Revision (git rev-parse @):
078399d7698105bc0f9accd41a990b91ecdb4d60
SUCCESS checkout https://github.com/AgoraIO/AgoraRtm_Apple.git at 2.2.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AgoraIO/AgoraRtm_Apple.git
https://github.com/AgoraIO/AgoraRtm_Apple.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AgoraRTM",
  "name" : "AgoraRTM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AgoraRTM",
      "targets" : [
        "AgoraRtmKit",
        "aosl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "aosl",
      "module_type" : "BinaryTarget",
      "name" : "aosl",
      "path" : "remote/archive/aosl.xcframework.zip",
      "product_memberships" : [
        "AgoraRTM"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "AgoraRtmKit",
      "module_type" : "BinaryTarget",
      "name" : "AgoraRtmKit",
      "path" : "remote/archive/AgoraRtmKit.xcframework_2.2.4.zip",
      "product_memberships" : [
        "AgoraRTM"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
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
[15702/1302361] Downloading https://download.agora.io/rtmsdk/release/aosl.xcframework.zip
[48470/25936983] Downloading https://download.agora.io/rtmsdk/release/aosl.xcframework.zip, https://download.agora.io/rtmsdk/release/AgoraRtmKit.xcframework_2.2.4.zip
Downloading binary artifact https://download.agora.io/rtmsdk/release/aosl.xcframework.zip
[23514984/24634622] Downloading https://download.agora.io/rtmsdk/release/AgoraRtmKit.xcframework_2.2.4.zip
Downloaded https://download.agora.io/rtmsdk/release/aosl.xcframework.zip (0.43s)
Downloading binary artifact https://download.agora.io/rtmsdk/release/AgoraRtmKit.xcframework_2.2.4.zip
Downloaded https://download.agora.io/rtmsdk/release/AgoraRtmKit.xcframework_2.2.4.zip (2.01s)
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 linux