Fix examples for release 0.7.0 #306
ci.yml
on: pull_request
find-latest-release
/
get-latest-release
18s
Annotations
2 errors and 3 warnings
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
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src/federate__c.lf:�[m�[K In function ‘�[Kvoid _clockreaction_function_0(void*)�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/CCpp/ROS/fed-gen/ROSSerialization/src/federate__c.lf:73:5:�[m�[K �[Kerror: �[m�[K‘�[KSET_NEW_ARRAY�[m�[K’ was not declared in this scope
73 | �[KSET_NEW_ARRAY�[m�[K(y, self->serialized_msg->size());
| �[K^~~~~~~~~~~~~�[m�[K
gmake[2]: *** [CMakeFiles/federate__c.dir/build.make:104: CMakeFiles/federate__c.dir/_clock.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/federate__c.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
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 2
lfc: error: Compilation was unsuccessful.
lfc: error: Failure during code generation of /
|
check-compile
1 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/.
|