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 FastRTPSSwift, reference v4.1.0 (763319), with Swift 6.1 for Linux on 28 Apr 2025 13:22:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DimaRU/FastRTPSSwift.git
Reference: v4.1.0
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/DimaRU/FastRTPSSwift
 * tag               v4.1.0     -> FETCH_HEAD
HEAD is now at 7633194 Changes for CDRCodable latest version.
Cloned https://github.com/DimaRU/FastRTPSSwift.git
Revision (git rev-parse @):
76331945ebf4c4e80095373245cbaa9fee508ba2
SUCCESS checkout https://github.com/DimaRU/FastRTPSSwift.git at v4.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DimaRU/FastRTPSSwift.git
https://github.com/DimaRU/FastRTPSSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
    {
      "identity" : "cdrcodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DimaRU/CDRCodable.git"
    },
    {
      "identity" : "fastddsprebuild",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DimaRU/FastDDSPrebuild.git"
    }
  ],
  "manifest_display_name" : "FastRTPSSwift",
  "name" : "FastRTPSSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FastRTPSSwift",
      "targets" : [
        "FastRTPSSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FastRTPSWrapper",
      "module_type" : "ClangTarget",
      "name" : "FastRTPSWrapper",
      "path" : "Sources/FastRTPSWrapper",
      "product_memberships" : [
        "FastRTPSSwift"
      ],
      "sources" : [
        "BridgedParticipant.cpp",
        "BridgedParticipantListener.cpp",
        "BridgedReaderListener.cpp",
        "BridgedWriterListener.cpp",
        "CustomLogConsumer.cpp",
        "FastRTPSWrapper.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FastRTPSSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "FastRTPSSwiftTests",
      "path" : "Tests/FastRTPSSwiftTests",
      "sources" : [
        "FastRTPSSwiftTests.swift",
        "RovBarometer.swift",
        "RovDepth.swift",
        "RovTopic.swift"
      ],
      "target_dependencies" : [
        "FastRTPSSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FastRTPSSwift",
      "module_type" : "SwiftTarget",
      "name" : "FastRTPSSwift",
      "path" : "Sources/FastRTPSSwift",
      "product_dependencies" : [
        "CDRCodable"
      ],
      "product_memberships" : [
        "FastRTPSSwift"
      ],
      "sources" : [
        "DDSTopic.swift",
        "DDSType.swift",
        "FastRTPSEnum_CustomStringConvertible.swift",
        "FastRTPSSwift.swift",
        "PayloadDecoderProxy.swift"
      ],
      "target_dependencies" : [
        "FastRTPSWrapper"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:34:44: warning: 'name' is deprecated: use kind instead
32 |
33 | #if os(Linux)
34 | package.dependencies.removeAll(where: { $0.name == "FastDDS"})
   |                                            `- warning: 'name' is deprecated: use kind instead
35 | package.targets.first(where: { $0.name == "FastRTPSWrapper"})!.dependencies = []
36 | package.targets.first(where: { $0.name == "FastRTPSSwift"})!.linkerSettings = [
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:34:44: warning: 'name' is deprecated: use kind instead
32 |
33 | #if os(Linux)
34 | package.dependencies.removeAll(where: { $0.name == "FastDDS"})
   |                                            `- warning: 'name' is deprecated: use kind instead
35 | package.targets.first(where: { $0.name == "FastRTPSWrapper"})!.dependencies = []
36 | package.targets.first(where: { $0.name == "FastRTPSSwift"})!.linkerSettings = [
Fetching https://github.com/DimaRU/FastDDSPrebuild.git
Fetching https://github.com/DimaRU/CDRCodable.git
[1/133] Fetching fastddsprebuild
[128/546] Fetching fastddsprebuild, cdrcodable
Fetched https://github.com/DimaRU/CDRCodable.git from cache (0.27s)
Fetched https://github.com/DimaRU/FastDDSPrebuild.git from cache (0.27s)
Computing version for https://github.com/DimaRU/CDRCodable.git
Computed https://github.com/DimaRU/CDRCodable.git at 1.2.3 (0.81s)
Fetching https://github.com/DimaRU/Msg2swift.git
[1/184] Fetching msg2swift
Fetched https://github.com/DimaRU/Msg2swift.git from cache (0.23s)
Computing version for https://github.com/DimaRU/Msg2swift.git
Computed https://github.com/DimaRU/Msg2swift.git at 1.0.0 (1.01s)
Fetching https://github.com/apple/swift-argument-parser
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (3.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (4.38s)
Computing version for https://github.com/DimaRU/FastDDSPrebuild.git
Computed https://github.com/DimaRU/FastDDSPrebuild.git at 2.14.3 (2.38s)
Creating working copy for https://github.com/DimaRU/Msg2swift.git
Working copy of https://github.com/DimaRU/Msg2swift.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/DimaRU/FastDDSPrebuild.git
Working copy of https://github.com/DimaRU/FastDDSPrebuild.git resolved at 2.14.3
Creating working copy for https://github.com/DimaRU/CDRCodable.git
Working copy of https://github.com/DimaRU/CDRCodable.git resolved at 1.2.3
Downloading binary artifact https://github.com/DimaRU/FastDDSPrebuild/releases/download/v2.14.3/fastdds-v2.14.3.xcframework.zip
[1397/58714387] Downloading https://github.com/DimaRU/FastDDSPrebuild/releases/download/v2.14.3/fastdds-v2.14.3.xcframework.zip
Downloaded https://github.com/DimaRU/FastDDSPrebuild/releases/download/v2.14.3/fastdds-v2.14.3.xcframework.zip (8.72s)
warning: 'spi-builder-workspace': dependency 'fastddsprebuild' is not used by any target
[1/1] Compiling plugin Msg2swiftCommand
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/11] Write sources
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/FastRTPSWrapper.cpp:7:
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSWrapper.h:12:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:34:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   34 | typedef NS_CLOSED_ENUM(uint32_t, RTPSStatus) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:43:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   43 | typedef NS_CLOSED_ENUM(uint32_t, RTPSReaderStatus) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:50:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   50 | typedef NS_CLOSED_ENUM(uint32_t, RTPSWriterStatus) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:57:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   57 | typedef NS_CLOSED_ENUM(uint32_t, RTPSParticipantStatus) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:65:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   65 | typedef NS_CLOSED_ENUM(uint32_t, FastRTPSLogLevel) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:71:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   71 | typedef NS_CLOSED_ENUM(uint32_t, Durability) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:78:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   78 | typedef NS_CLOSED_ENUM(uint32_t, Reliability) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:83:9: error: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators? [-Welaborated-enum-base]
   83 | typedef NS_CLOSED_ENUM(uint32_t, ParticipantFilter) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSDefs.h:24:66: note: expanded from macro 'NS_CLOSED_ENUM'
   24 | #define NS_CLOSED_ENUM(_type, _name) enum CLOSED_ENUM_ATTR _name : _type _name; enum CLOSED_ENUM_ATTR _name : _type
      |                                                                  ^~~~~~~
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/FastRTPSWrapper.cpp:8:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipant.h:8:10: fatal error: 'fastrtps/rtps/reader/RTPSReader.h' file not found
    8 | #include <fastrtps/rtps/reader/RTPSReader.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 errors generated.
[4/11] Compiling FastRTPSWrapper FastRTPSWrapper.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedReaderListener.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedReaderListener.h:9:10: fatal error: 'fastrtps/rtps/rtps_fwd.h' file not found
    9 | #include "fastrtps/rtps/rtps_fwd.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/11] Compiling FastRTPSWrapper BridgedReaderListener.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedWriterListener.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedWriterListener.h:8:10: fatal error: 'fastrtps/rtps/writer/RTPSWriter.h' file not found
    8 | #include <fastrtps/rtps/writer/RTPSWriter.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/11] Compiling FastRTPSWrapper BridgedWriterListener.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/CustomLogConsumer.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/CustomLogConsumer.h:8:10: fatal error: 'fastdds/dds/log/Log.hpp' file not found
    8 | #include <fastdds/dds/log/Log.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/11] Compiling FastRTPSWrapper CustomLogConsumer.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipant.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipant.h:8:10: fatal error: 'fastrtps/rtps/reader/RTPSReader.h' file not found
    8 | #include <fastrtps/rtps/reader/RTPSReader.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/11] Compiling FastRTPSWrapper BridgedParticipant.cpp
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipantListener.cpp:6:10: fatal error: 'fastrtps/log/Log.h' file not found
    6 | #include <fastrtps/log/Log.h>
      |          ^~~~~~~~~~~~~~~~~~~~
[4/11] Compiling FastRTPSWrapper BridgedParticipantListener.cpp
[4/11] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:34:44: warning: 'name' is deprecated: use kind instead
32 |
33 | #if os(Linux)
34 | package.dependencies.removeAll(where: { $0.name == "FastDDS"})
   |                                            `- warning: 'name' is deprecated: use kind instead
35 | package.targets.first(where: { $0.name == "FastRTPSWrapper"})!.dependencies = []
36 | package.targets.first(where: { $0.name == "FastRTPSSwift"})!.linkerSettings = [
warning: 'spi-builder-workspace': dependency 'fastddsprebuild' is not used by any target
[0/1] Planning build
[1/1] Compiling plugin Msg2swiftCommand
[2/2] Compiling plugin GenerateManual
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedWriterListener.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedWriterListener.h:8:10: fatal error: 'fastrtps/rtps/writer/RTPSWriter.h' file not found
    8 | #include <fastrtps/rtps/writer/RTPSWriter.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/9] Compiling FastRTPSWrapper BridgedWriterListener.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipant.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipant.h:8:10: fatal error: 'fastrtps/rtps/reader/RTPSReader.h' file not found
    8 | #include <fastrtps/rtps/reader/RTPSReader.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/9] Compiling FastRTPSWrapper BridgedParticipant.cpp
[2/9] Compiling FastRTPSWrapper BridgedReaderListener.cpp
/host/spi-builder-workspace/Sources/FastRTPSWrapper/BridgedParticipantListener.cpp:6:10: fatal error: 'fastrtps/log/Log.h' file not found
    6 | #include <fastrtps/log/Log.h>
      |          ^~~~~~~~~~~~~~~~~~~~
[2/9] Compiling FastRTPSWrapper BridgedParticipantListener.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/FastRTPSWrapper.cpp:7:
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/include/FastRTPSWrapper.h:[2/9] Compiling FastRTPSWrapper FastRTPSWrapper.cpp
In file included from /host/spi-builder-workspace/Sources/FastRTPSWrapper/CustomLogConsumer.cpp:6:
/host/spi-builder-workspace/Sources/FastRTPSWrapper/CustomLogConsumer.h:8:10: fatal error: 'fastdds/dds/log/Log.hpp' file not found
    8 | #include <fastdds/dds/log/Log.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/9] Compiling FastRTPSWrapper CustomLogConsumer.cpp
[2/9] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux