Web socket upgrade #284
Annotations
10 errors and 1 warning
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/ReflexGame/ReflexGame.lf"
lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/./examples/C/src/ReflexGame/ReflexGame.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame
lfc: info: Target Configuration:
- keepalive: true
--- Building non-Zephyr library
--- Building non-Zephyr library
In file included from �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame/_getuserinput.c:3�[m�[K:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame/include/ReflexGame/GetUserInput.h:6:213:�[m�[K �[Kfatal error: �[m�[Kinclude/core/platform.h: No such file or directory
6 | /*Correspondence: Range: [(16, 2), (16, 36)) -> Range: [(0, 0), (0, 34)) (verbatim=true; src=/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/ReflexGame/ReflexGame.lf)*/#include �[K"include/core/platform.h"�[m�[K
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
In file included from �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame/_reflexgame_main.c:3�[m�[K:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame/include/ReflexGame/ReflexGame.h:6:213:�[m�[K �[Kfatal error: �[m�[Kinclude/core/platform.h: No such file or directory
6 | /*Correspondence: Range: [(16, 2), (16, 36)) -> Range: [(0, 0), (0, 34)) (verbatim=true; src=/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/ReflexGame/ReflexGame.lf)*/#include �[K"include/core/platform.h"�[m�[K
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
compilation terminated.
compilation terminated.
In file included from �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame/_randomsource.c:3�[m�[K:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGame/include/ReflexGame/RandomSource.h:6:213:�[m�[K �[Kfatal error: �[m�[Kinclude/core/platform.h: No such file or directory
6 | /*Correspondence: Range: [(16, 2), (16, 36)) -> Range: [(0, 0), (0, 34)) (verbatim=true; src=/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/ReflexGame/ReflexGame.lf)*/#include �[K"include/core/platform.h"�[m�[K
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
compilation terminated.
gmake[2]: *** [CMakeFiles/ReflexGame.dir/build.make:90: CMakeFiles/ReflexGame.dir/_reflexgame_main.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/ReflexGame.dir/build.make:118: CMakeFiles/ReflexGame.dir/_getuserinput.c.o] Error 1
gmake[2]: *** [CMakeFiles/ReflexGame.dir/build.make:104: CMakeFiles/ReflexGame.dir/_randomsource.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/ReflexGame.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
lfc: error: CMake failed with error code 2
lfc: fatal error: Aborting due to 1 previous error.
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/ReflexGame/ReflexGameTest.lf"
lfc: info: Generating code for: file:/home/runner/work/playground-lingua-franca/playground-lingua-franca/./examples/C/src/ReflexGame/ReflexGameTest.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGameTest
lfc: info: Target Configuration:
- keepalive: true
- timeout: 5 sec
--- Building non-Zephyr library
--- Building non-Zephyr library
In file included from �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGameTest/_reflexgametest_main.c:3�[m�[K:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGameTest/include/ReflexGameTest/ReflexGameTest.h:6:217:�[m�[K �[Kfatal error: �[m�[Kinclude/core/platform.h: No such file or directory
6 | /*Correspondence: Range: [(15, 2), (15, 36)) -> Range: [(0, 0), (0, 34)) (verbatim=true; src=/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/ReflexGame/ReflexGameTest.lf)*/#include �[K"include/core/platform.h"�[m�[K
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
compilation terminated.
gmake[2]: *** [CMakeFiles/ReflexGameTest.dir/build.make:90: CMakeFiles/ReflexGameTest.dir/_reflexgametest_main.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from �[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGameTest/ReflexGameTest.c:23�[m�[K:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src-gen/ReflexGame/ReflexGameTest/_reflexgametest_main.h:6:10:�[m�[K �[Kfatal error: �[m�[Kinclude/core/platform.h: No such file or directory
6 | #include �[K"include/core/platform.h"�[m�[K
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
compilation terminated.
gmake[2]: *** [CMakeFiles/ReflexGameTest.dir/build.make:104: CMakeFiles/ReflexGameTest.dir/ReflexGameTest.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/ReflexGameTest.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
lfc: error: CMake failed with error code 2
lfc: fatal error: Aborting due to 1 previous error.
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/SleepingBarber.lf"
lfc: error: The target property 'threading' is not supported by the C target.
--> examples/C/src/SleepingBarber.lf:29:3
|
28 | fast: true,
29 | threading: false,
| ^^^^^^^^^ The target property 'threading' is not supported by the C target.
|
30 | cmake-include: "/lib/c/reactor-c/util/deque.cmake",
lfc: fatal error: Aborting due to 1 previous error.
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/distributed/HelloWorld.lf"
lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorld/src
lfc: info: ##### Generating code for federate federate__print in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorld/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/HelloWorld/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/HelloWorld/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
lfc: info: Copied 'include/federate__source_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/fed-gen/HelloWorld/src/federate__source.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorld/src/federate__source.lf:56:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K]
56 | �[KSET_NEW_ARRAY�[m�[K(message, length);
| �[K^~~~~~~~~~~~~�[m�[K
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorld/src/federate__source.lf:61:14:�[m�[K �[Kwarning: �[m�[Kformat ‘�[K%lld�[m�[K’ expects argument of type ‘�[Klong long int�[m�[K’, but argument 2 has type ‘�[Kinstant_t�[m�[K’ {aka ‘�[Klong int�[m�[K’} [�[K-Wformat=�[m�[K]
61 | lf_print(�[K"At (elapsed) logical tag (%lld, %u), source sends message: %s"�[m�[K,
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
62 | �[Ktag.time - lf_time_start()�[m�[K, tag.microstep,
| �[K~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
| �[K|�[m�[K
| �[Kinstant_t {aka long int}�[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:165: 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/HelloWorld/src/federate__print.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorld/src-gen/federate__print
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__print_extension.cmake]
- compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=1}
- timeout
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/distributed/HelloWorldAfter.lf"
lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldAfter/src
lfc: info: ##### Generating code for federate federate__print in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldAfter/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/HelloWorldAfter/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/HelloWorldAfter/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
lfc: info: Copied 'include/federate__source_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/distributed/HelloWorld.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:42:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K]
42 | �[KSET_NEW_ARRAY�[m�[K(message, length);
| �[K^~~~~~~~~~~~~�[m�[K
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:47:14:�[m�[K �[Kwarning: �[m�[Kformat ‘�[K%lld�[m�[K’ expects argument of type ‘�[Klong long int�[m�[K’, but argument 2 has type ‘�[Kinstant_t�[m�[K’ {aka ‘�[Klong int�[m�[K’} [�[K-Wformat=�[m�[K]
47 | lf_print(�[K"At (elapsed) logical tag (%lld, %u), source sends message: %s"�[m�[K,
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
48 | �[Ktag.time - lf_time_start()�[m�[K, tag.microstep,
| �[K~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
| �[K|�[m�[K
| �[Kinstant_t {aka long int}�[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:165: 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/HelloWorldAfter/src/federate__print.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldAfter/src-gen/federate__print
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__print_extension.cmake]
- compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=1}
- timeout: 10
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/distributed/HelloWorldDecentralized.lf"
lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldDecentralized/src
lfc: info: ##### Generating code for federate federate__print in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldDecentralized/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/HelloWorldDecentralized/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/HelloWorldDecentralized/src-gen/federate__source
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__source_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__source_preamble.h
- coordination: decentralized
lfc: info: Copied 'include/federate__source_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/distributed/HelloWorld.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:42:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K]
42 | �[KSET_NEW_ARRAY�[m�[K(message, length);
| �[K^~~~~~~~~~~~~�[m�[K
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:47:14:�[m�[K �[Kwarning: �[m�[Kformat ‘�[K%lld�[m�[K’ expects argument of type ‘�[Klong long int�[m�[K’, but argument 2 has type ‘�[Kinstant_t�[m�[K’ {aka ‘�[Klong int�[m�[K’} [�[K-Wformat=�[m�[K]
47 | lf_print(�[K"At (elapsed) logical tag (%lld, %u), source sends message: %s"�[m�[K,
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
48 | �[Ktag.time - lf_time_start()�[m�[K, tag.microstep,
| �[K~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
| �[K|�[m�[K
| �[Kinstant_t {aka long int}�[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:165: 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/HelloWorldDecentralized/src/federate__print.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldDecentralized/src-gen/federate__print
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__print_extension.cmake]
- compile-definitions: {FEDERATED_DECENTRALIZ
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/distributed/HelloWorldDecentralizedSTP.lf"
lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldDecentralizedSTP/src
lfc: info: ##### Generating code for federate federate__print in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldDecentralizedSTP/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/HelloWorldDecentralizedSTP/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/HelloWorldDecentralizedSTP/src-gen/federate__source
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__source_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__source_preamble.h
- coordination: decentralized
lfc: info: Copied 'include/federate__source_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/distributed/HelloWorld.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:42:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K]
42 | �[KSET_NEW_ARRAY�[m�[K(message, length);
| �[K^~~~~~~~~~~~~�[m�[K
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:47:14:�[m�[K �[Kwarning: �[m�[Kformat ‘�[K%lld�[m�[K’ expects argument of type ‘�[Klong long int�[m�[K’, but argument 2 has type ‘�[Kinstant_t�[m�[K’ {aka ‘�[Klong int�[m�[K’} [�[K-Wformat=�[m�[K]
47 | lf_print(�[K"At (elapsed) logical tag (%lld, %u), source sends message: %s"�[m�[K,
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
48 | �[Ktag.time - lf_time_start()�[m�[K, tag.microstep,
| �[K~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
| �[K|�[m�[K
| �[Kinstant_t {aka long int}�[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:165: 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/HelloWorldDecentralizedSTP/src/federate__print.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldDecentralizedSTP/src-gen/federate__print
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__print_extension.cmake]
- compile-definitions: {
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/distributed/HelloWorldPhysical.lf"
lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldPhysical/src
lfc: info: ##### Generating code for federate federate__print in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldPhysical/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/HelloWorldPhysical/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/HelloWorldPhysical/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
lfc: info: Copied 'include/federate__source_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/distributed/HelloWorld.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:42:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K]
42 | �[KSET_NEW_ARRAY�[m�[K(message, length);
| �[K^~~~~~~~~~~~~�[m�[K
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:47:14:�[m�[K �[Kwarning: �[m�[Kformat ‘�[K%lld�[m�[K’ expects argument of type ‘�[Klong long int�[m�[K’, but argument 2 has type ‘�[Kinstant_t�[m�[K’ {aka ‘�[Klong int�[m�[K’} [�[K-Wformat=�[m�[K]
47 | lf_print(�[K"At (elapsed) logical tag (%lld, %u), source sends message: %s"�[m�[K,
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
48 | �[Ktag.time - lf_time_start()�[m�[K, tag.microstep,
| �[K~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
| �[K|�[m�[K
| �[Kinstant_t {aka long int}�[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:165: 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/HelloWorldPhysical/src/federate__print.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldPhysical/src-gen/federate__print
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__print_extension.cmake]
- compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=1
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./examples/C/src/distributed/HelloWorldPhysicalAfter.lf"
lfc: info: ##### Generating code for federate federate__source in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldPhysicalAfter/src
lfc: info: ##### Generating code for federate federate__print in directory /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldPhysicalAfter/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/HelloWorldPhysicalAfter/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/HelloWorldPhysicalAfter/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
lfc: info: Copied 'include/federate__source_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/distributed/HelloWorld.lf:�[m�[K In function ‘�[K_messagegeneratorreaction_function_0�[m�[K’:
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:42:5:�[m�[K �[Kwarning: �[m�[Kimplicit declaration of function ‘�[KSET_NEW_ARRAY�[m�[K’ [�[K-Wimplicit-function-declaration�[m�[K]
42 | �[KSET_NEW_ARRAY�[m�[K(message, length);
| �[K^~~~~~~~~~~~~�[m�[K
�[K/home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/src/distributed/HelloWorld.lf:47:14:�[m�[K �[Kwarning: �[m�[Kformat ‘�[K%lld�[m�[K’ expects argument of type ‘�[Klong long int�[m�[K’, but argument 2 has type ‘�[Kinstant_t�[m�[K’ {aka ‘�[Klong int�[m�[K’} [�[K-Wformat=�[m�[K]
47 | lf_print(�[K"At (elapsed) logical tag (%lld, %u), source sends message: %s"�[m�[K,
| �[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
48 | �[Ktag.time - lf_time_start()�[m�[K, tag.microstep,
| �[K~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
| �[K|�[m�[K
| �[Kinstant_t {aka long int}�[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:165: 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/HelloWorldPhysicalAfter/src/federate__print.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/HelloWorldPhysicalAfter/src-gen/federate__print
lfc: info: Target Configuration:
- keepalive: true
- single-threaded: false
- cmake-include: [include/federate__print_extension.cmake]
- compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, N
|
Run lf-lang/action-check-lf-files@main
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
CMake Error at paho-extension.cmake:49 (target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "federate__source". 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:85 (target_link_libraries)
* CMakeLists.txt:87 (target_link_libraries)
* CMakeLists.txt:97 (target_link_libraries)
Call Stack (most recent call first):
CMakeLists.txt:110 (include)
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]
- compile-definitions: {EXECUTABLE_PREAMBLE=, FEDERATED=, FEDERATED_CENTRALIZED=, NUMBER_OF_FEDERATES=2, FEDERATE_ID=1}
- timeout: 10 sec
- docker: DockerOptions[enabled=false, from=, rti=lflang/rti:rti]
- _fed_setup: include/_federate__destination_preamble.h
- coordination: centralized
lfc: info: Copied 'include/federate__destination_extension.cmake' from the file system.
lfc: info: Script for launching the federation: /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/bin/MQTTDistributed
lfc: error: CMake failed with error code 1
lfc: error: Failure during code generation of /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src/federate__destination.lf
--> examples/C/fed-gen/MQTTDistributed/src/federate__destination.lf:1:1 -
lfc: error: Failure during code generation of /home/runner/work/playground-lingua-franca/playground-lingua-franca/examples/C/fed-gen/MQTTDistributed/src/federate__source.lf
--> examples/C/fed-gen/MQTTDistributed/src/federate__source.lf:1:1 -
|
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/.
|
The logs for this run have expired and are no longer available.
Loading