Skip to content

Fix examples for release 0.7.0 #302

Fix examples for release 0.7.0

Fix examples for release 0.7.0 #302

Triggered via pull request March 11, 2024 16:00
Status Failure
Total duration 23m 50s
Artifacts

ci.yml

on: pull_request
find-latest-release  /  get-latest-release
15s
find-latest-release / get-latest-release
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
check-compile
Error: Command failed: lfc "./examples/C/src/mqtt/MQTTDistributed.lf" lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src lfc: info: ##### Generating code for federate federate__destination in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src lfc: info: ******** Using 1 threads to compile the program. lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src/federate__source.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src-gen/federate__source lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [include/federate__source_extension.cmake] - compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=0} - timeout: 10 sec - docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti] - _fed_setup: include/_federate__source_preamble.h - coordination: centralized lfc: info: Copied 'include/federate__source_extension.cmake' from the file system. lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:33:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K] 33 | �[KSET_NEW_ARRAY�[m�[K(message, length); | �[K^~~~~~~~~~~~~�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:�[m�[K In function ‘�[K_mqttpublisherreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:107:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 107 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTPublisher_%zu", _lf_MQTTPublisher_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K /usr/bin/ld: CMakeFiles/federate__source.dir/_messagegenerator.c.o: in function `_messagegeneratorreaction_function_0': _messagegenerator.c:(.text+0x43): undefined reference to `SET_NEW_ARRAY' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/federate__source.dir/build.make:198: federate__source] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/federate__source.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src/federate__destination.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src-gen/federate__destination lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [include/federate__destination_extension.cmake]
check-compile
Error: Command failed: lfc "./examples/C/src/mqtt/MQTTDistributedActivity.lf" lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributedActivity/src lfc: info: ##### Generating code for federate federate__destination in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributedActivity/src lfc: info: ******** Using 1 threads to compile the program. lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributedActivity/src/federate__source.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributedActivity/src-gen/federate__source lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [include/federate__source_extension.cmake] - compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=0} - timeout: 10 sec - docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti] - _fed_setup: include/_federate__source_preamble.h - coordination: centralized lfc: info: Copied 'include/federate__source_extension.cmake' from the file system. lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:33:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K] 33 | �[KSET_NEW_ARRAY�[m�[K(message, length); | �[K^~~~~~~~~~~~~�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:�[m�[K In function ‘�[K_mqttpublisherreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:107:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 107 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTPublisher_%zu", _lf_MQTTPublisher_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K /usr/bin/ld: CMakeFiles/federate__source.dir/_messagegenerator.c.o: in function `_messagegeneratorreaction_function_0': _messagegenerator.c:(.text+0x43): undefined reference to `SET_NEW_ARRAY' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/federate__source.dir/build.make:198: federate__source] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/federate__source.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributedActivity/src/federate__destination.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributedActivity/src-gen/federate__destination lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-includ
check-compile
Error: Command failed: lfc "./examples/C/src/mqtt/MQTTLegacy.lf" lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/./examples/C/src/mqtt/MQTTLegacy.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/mqtt/MQTTLegacy lfc: info: Target Configuration: - timeout: 1 minute - coordination: centralized lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:33:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K] 33 | �[KSET_NEW_ARRAY�[m�[K(message, length); | �[K^~~~~~~~~~~~~�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:�[m�[K In function ‘�[K_mqttpublisherreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:107:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 107 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTPublisher_%zu", _lf_MQTTPublisher_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:�[m�[K In function ‘�[Kmessage_arrived�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:117:40:�[m�[K �[Kwarning: �[m�[Kdereferencing ‘�[Kvoid *�[m�[K’ pointer 117 | && memcmp("LFts", &message->pay�[Kl�[m�[Koad[message->payloadlen - sizeof(instant_t) - 4], 4) == 0 | �[K^�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:�[m�[K In function ‘�[K_mqttsubscriberreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:212:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 212 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTSubscriber_%zu", _lf_MQTTSubscriber_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K /usr/bin/ld: CMakeFiles/MQTTLegacy.dir/_messagegenerator.c.o: in function `_messagegeneratorreaction_function_0': _messagegenerator.c:(.text+0x43): undefined reference to `SET_NEW_ARRAY' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/MQTTLegacy.dir/build.make:246: MQTTLegacy] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/MQTTLegacy.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 lfc: error: CMake failed with error code 2 lfc: error: Compilation was unsuccessful. lfc: fatal error: Aborting due to 2 previous errors.
check-compile
Error: Command failed: lfc "./examples/C/src/mqtt/MQTTLogical.lf" lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/./examples/C/src/mqtt/MQTTLogical.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/mqtt/MQTTLogical lfc: info: Target Configuration: - timeout: 10 sec lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:33:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K] 33 | �[KSET_NEW_ARRAY�[m�[K(message, length); | �[K^~~~~~~~~~~~~�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:�[m�[K In function ‘�[K_mqttpublisherreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:107:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 107 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTPublisher_%zu", _lf_MQTTPublisher_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:�[m�[K In function ‘�[Kmessage_arrived�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:117:40:�[m�[K �[Kwarning: �[m�[Kdereferencing ‘�[Kvoid *�[m�[K’ pointer 117 | && memcmp("LFts", &message->pay�[Kl�[m�[Koad[message->payloadlen - sizeof(instant_t) - 4], 4) == 0 | �[K^�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:�[m�[K In function ‘�[K_mqttsubscriberreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:212:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 212 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTSubscriber_%zu", _lf_MQTTSubscriber_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K /usr/bin/ld: CMakeFiles/MQTTLogical.dir/_messagegenerator.c.o: in function `_messagegeneratorreaction_function_0': _messagegenerator.c:(.text+0x43): undefined reference to `SET_NEW_ARRAY' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/MQTTLogical.dir/build.make:214: MQTTLogical] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/MQTTLogical.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 lfc: error: CMake failed with error code 2 lfc: error: Compilation was unsuccessful. lfc: fatal error: Aborting due to 2 previous errors.
check-compile
Error: Command failed: lfc "./examples/C/src/mqtt/MQTTPhysical.lf" lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/./examples/C/src/mqtt/MQTTPhysical.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/mqtt/MQTTPhysical lfc: info: Target Configuration: - timeout: 10 sec lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. lfc: info: Copied '../include/net_utils.cmake' from the file system. lfc: info: Copied '../include/paho-extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTTestReactors.lf:33:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K] 33 | �[KSET_NEW_ARRAY�[m�[K(message, length); | �[K^~~~~~~~~~~~~�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:�[m�[K In function ‘�[K_mqttpublisherreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTPublisher.lf:107:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 107 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTPublisher_%zu", _lf_MQTTPublisher_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:�[m�[K In function ‘�[Kmessage_arrived�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:117:40:�[m�[K �[Kwarning: �[m�[Kdereferencing ‘�[Kvoid *�[m�[K’ pointer 117 | && memcmp("LFts", &message->pay�[Kl�[m�[Koad[message->payloadlen - sizeof(instant_t) - 4], 4) == 0 | �[K^�[m�[K �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:�[m�[K In function ‘�[K_mqttsubscriberreaction_function_0�[m�[K’: �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/mqtt/lib/MQTTSubscriber.lf:212:9:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[Kasprintf�[m�[K’; did you mean ‘�[Kvsprintf�[m�[K’? [�[K-Wimplicit-function-declaration�[m�[K] 212 | if (�[Kasprintf�[m�[K(&self->clientID, "LF_MQTTSubscriber_%zu", _lf_MQTTSubscriber_count++) < 0) { | �[K^~~~~~~~�[m�[K | �[Kvsprintf�[m�[K /usr/bin/ld: CMakeFiles/MQTTPhysical.dir/_messagegenerator.c.o: in function `_messagegeneratorreaction_function_0': _messagegenerator.c:(.text+0x43): undefined reference to `SET_NEW_ARRAY' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/MQTTPhysical.dir/build.make:214: MQTTPhysical] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/MQTTPhysical.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 lfc: error: CMake failed with error code 2 lfc: error: Compilation was unsuccessful. lfc: fatal error: Aborting due to 2 previous errors.
check-compile
Error: Command failed: lfc "./examples/CCpp/ROS/src/ROSBuiltInSerialization.lf" lfc: info: ##### Generating code for federate federate__sender in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSBuiltInSerialization/src lfc: info: ##### Generating code for federate federate__receiver in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSBuiltInSerialization/src lfc: info: ******** Using 1 threads to compile the program. lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSBuiltInSerialization/src/federate__sender.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSBuiltInSerialization/src-gen/federate__sender lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [../../../src/include/CMakeListsExtension.txt, include/federate__sender_extension.cmake] - compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=0} - docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti] - _fed_setup: include/_federate__sender_preamble.h lfc: info: Copied '../../../src/include/CMakeListsExtension.txt' from the file system. lfc: info: Copied 'include/federate__sender_extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library CMake Error at /opt/ros/iron/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:145 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "federate__sender". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * CMakeLists.txt:86 (target_link_libraries) * CMakeLists.txt:88 (target_link_libraries) * CMakeLists.txt:98 (target_link_libraries) Call Stack (most recent call first): CMakeListsExtension.txt:9 (ament_target_dependencies) CMakeLists.txt:110 (include) CMake Error at /opt/ros/iron/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:145 (target_link_libraries): The plain signature for target_link_libraries has already been used with the target "federate__sender". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the plain signature are here: * /opt/ros/iron/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:145 (target_link_libraries) Call Stack (most recent call first): federate__sender_extension.cmake:10 (ament_target_dependencies) CMakeLists.txt:111 (include) lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSBuiltInSerialization/src/federate__receiver.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSBuiltInSerialization/src-gen/federate__receiver lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [../../../src/include/CMakeListsExtension.txt, include/federate__receiver_extension.cmake] - compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=1} - docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti] - _fed_setup: include/_federate__receiver_preamble.h lfc: info: Copied '../../../src/include/CMakeListsExtension.txt' from the file system. lfc: �[1
check-compile
Error: Command failed: lfc "./examples/CCpp/ROS/src/ROSSerialization.lf" lfc: info: ##### Generating code for federate federate__c in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src lfc: info: ##### Generating code for federate federate__d in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src lfc: info: ******** Using 1 threads to compile the program. lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src/federate__c.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src-gen/federate__c lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [../../../src/include/CMakeListsExtension.txt, include/federate__c_extension.cmake] - compile-definitions: {FEDERATED_DECENTRALIZED=, EXECUTABLE_PREAMBLE=, FEDERATED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=0} - timeout: 10 sec - docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti] - _fed_setup: include/_federate__c_preamble.h - coordination: decentralized lfc: info: Copied '../../../src/include/CMakeListsExtension.txt' from the file system. lfc: info: Copied 'include/federate__c_extension.cmake' from the file system. --- Building non-Zephyr library --- Building non-Zephyr library CMake Error at /opt/ros/iron/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:145 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "federate__c". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * CMakeLists.txt:86 (target_link_libraries) * CMakeLists.txt:88 (target_link_libraries) * CMakeLists.txt:98 (target_link_libraries) Call Stack (most recent call first): CMakeListsExtension.txt:9 (ament_target_dependencies) CMakeLists.txt:110 (include) lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src/federate__d.lf lfc: info: Generation mode: STANDALONE lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src-gen/federate__d lfc: info: Target Configuration: - keepalive: true - single-threaded: false - cmake-include: [../../../src/include/CMakeListsExtension.txt, include/federate__d_extension.cmake] - compile-definitions: {FEDERATED_DECENTRALIZED=, EXECUTABLE_PREAMBLE=, FEDERATED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=1} - timeout: 10 sec - docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti] - _fed_setup: include/_federate__d_preamble.h - coordination: decentralized lfc: info: Copied '../../../src/include/CMakeListsExtension.txt' from the file system. lfc: info: Copied 'include/federate__d_extension.cmake' from the file system. lfc: info: Script for launching the federation: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/bin/ROSSerialization lfc: error: CMake failed with error code 1 lfc: error: Compilation was unsuccessful. lfc: error: Failure during code generation of /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src/federate__c.lf --> examples/CCpp/ROS/fed-gen/ROSSerialization/src/federate
check-compile
7 file(s) failed compile check
find-latest-release / get-latest-release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check-format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, lf-lang/action-check-lf-files@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check-compile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, lf-lang/action-check-lf-files@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.