The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FastRTPSSwift, reference v4.1.0 (763319), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 07:52:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DimaRU/FastRTPSSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:34:44: warning: 'name' is deprecated: use kind instead [#DeprecatedDeclaration]
32 |
33 | #if os(Linux)
34 | package.dependencies.removeAll(where: { $0.name == "FastDDS"})
   |                                            `- warning: 'name' is deprecated: use kind instead [#DeprecatedDeclaration]
35 | package.targets.first(where: { $0.name == "FastRTPSWrapper"})!.dependencies = []
36 | package.targets.first(where: { $0.name == "FastRTPSSwift"})!.linkerSettings = [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/DimaRU/FastDDSPrebuild.git
Fetching https://github.com/DimaRU/CDRCodable.git
[1/413] Fetching cdrcodable
[414/546] Fetching cdrcodable, fastddsprebuild
Fetched https://github.com/DimaRU/FastDDSPrebuild.git from cache (0.76s)
Fetched https://github.com/DimaRU/CDRCodable.git from cache (0.76s)
Computing version for https://github.com/DimaRU/CDRCodable.git
Computed https://github.com/DimaRU/CDRCodable.git at 1.2.3 (1.43s)
Fetching https://github.com/DimaRU/Msg2swift.git
[1/184] Fetching msg2swift
Fetched https://github.com/DimaRU/Msg2swift.git from cache (0.31s)
Computing version for https://github.com/DimaRU/Msg2swift.git
Computed https://github.com/DimaRU/Msg2swift.git at 1.0.0 (0.65s)
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.77s)
Computing version for https://github.com/DimaRU/FastDDSPrebuild.git
Computed https://github.com/DimaRU/FastDDSPrebuild.git at 2.14.3 (2.28s)
Creating working copy for https://github.com/DimaRU/CDRCodable.git
Working copy of https://github.com/DimaRU/CDRCodable.git resolved at 1.2.3
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.1
Creating working copy for https://github.com/DimaRU/FastDDSPrebuild.git
Working copy of https://github.com/DimaRU/FastDDSPrebuild.git resolved at 2.14.3
Downloading binary artifact https://github.com/DimaRU/FastDDSPrebuild/releases/download/v2.14.3/fastdds-v2.14.3.xcframework.zip
[1369/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 (5.87s)
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/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/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
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/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>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/11] Compiling FastRTPSWrapper FastRTPSWrapper.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
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
[4/11] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm