Build Information
Failed to build FastRTPSSwift, reference master (763319
), with Swift 6.0 for Linux on 30 Nov 2024 19:38:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DimaRU/FastRTPSSwift.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/DimaRU/FastRTPSSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/CDRCodable.git
Fetching https://github.com/DimaRU/FastDDSPrebuild.git
[1/413] Fetching cdrcodable
[414/546] Fetching cdrcodable, fastddsprebuild
Fetched https://github.com/DimaRU/CDRCodable.git from cache (0.24s)
Fetched https://github.com/DimaRU/FastDDSPrebuild.git from cache (0.24s)
Computing version for https://github.com/DimaRU/CDRCodable.git
Computed https://github.com/DimaRU/CDRCodable.git at 1.2.3 (0.85s)
Fetching https://github.com/DimaRU/Msg2swift.git
[1/184] Fetching msg2swift
Fetched https://github.com/DimaRU/Msg2swift.git from cache (0.20s)
Computing version for https://github.com/DimaRU/Msg2swift.git
Computed https://github.com/DimaRU/Msg2swift.git at 1.0.0 (0.45s)
Fetching https://github.com/apple/swift-argument-parser
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.81s)
Computing version for https://github.com/DimaRU/FastDDSPrebuild.git
Computed https://github.com/DimaRU/FastDDSPrebuild.git at 2.14.3 (2.39s)
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/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/Msg2swift.git
Working copy of https://github.com/DimaRU/Msg2swift.git resolved at 1.0.0
Creating working copy for https://github.com/DimaRU/CDRCodable.git
Working copy of https://github.com/DimaRU/CDRCodable.git resolved at 1.2.3
[1369/58714387] Downloading https://github.com/DimaRU/FastDDSPrebuild/releases/download/v2.14.3/fastdds-v2.14.3.xcframework.zip
Downloading binary artifact 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 (6.70s)
warning: 'spi-builder-workspace': dependency 'fastddsprebuild' is not used by any target
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Msg2swiftCommand
Building for debugging...
[2/11] Write sources
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/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
| ^~~~~~~
[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
[4/11] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux