Apply the formatter to all benchmarks #255
Annotations
4 errors and 1 warning
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./C/Distributed/src/PingPongDistributed.lf"
lfc: fatal error: Error running generator
java.lang.NullPointerException: Cannot invoke "org.eclipse.emf.ecore.InternalEObject.eProxyURI()" because "eObject" is null
at org.eclipse.emf.ecore.util.EcoreUtil.getURI(EcoreUtil.java:3058)
at org.eclipse.xtext.validation.EObjectDiagnosticImpl.getUriToProblem(EObjectDiagnosticImpl.java:94)
at org.lflang.cli.StandaloneIssueAcceptor.getPath(StandaloneIssueAcceptor.java:60)
at org.lflang.cli.StandaloneIssueAcceptor.accept(StandaloneIssueAcceptor.java:46)
at org.lflang.cli.StandaloneMessageReporter.reportOnNode(StandaloneMessageReporter.java:58)
at org.lflang.MessageReporterBase.lambda$at$3(MessageReporterBase.java:48)
at org.lflang.MessageReporterBase.lambda$wrap$0(MessageReporterBase.java:32)
at org.lflang.MessageReporter$Stage2.error(MessageReporter.java:86)
at org.lflang.target.property.FastProperty.validate(FastProperty.java:36)
at org.lflang.target.TargetConfig.lambda$validate$8(TargetConfig.java:401)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.lflang.target.TargetConfig.validate(TargetConfig.java:399)
at org.lflang.federated.generator.FederateTargetConfig.<init>(FederateTargetConfig.java:57)
at org.lflang.federated.generator.FedGenerator.getFederateInstances(FedGenerator.java:596)
at org.lflang.federated.generator.FedGenerator.createFederateInstances(FedGenerator.java:484)
at org.lflang.federated.generator.FedGenerator.doGenerate(FedGenerator.java:141)
at org.lflang.generator.LFGenerator.doGenerate(LFGenerator.java:105)
at org.eclipse.xtext.generator.GeneratorDelegate.doGenerate(GeneratorDelegate.java:44)
at org.eclipse.xtext.generator.GeneratorDelegate.generate(GeneratorDelegate.java:35)
at org.lflang.cli.Lfc.invokeGenerator(Lfc.java:242)
at org.lflang.cli.Lfc.doRun(Lfc.java:201)
at org.lflang.cli.CliBase.run(CliBase.java:124)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at org.lflang.cli.CliBase.doExecute(CliBase.java:115)
at org.lflang.cli.CliBase.cliMain(CliBase.java:107)
at org.lflang.cli.Lfc.main(Lfc.java:189)
at org.lflang.cli.Lfc.main(Lfc.java:179)
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./C/Distributed/src/TimeLimitDistributedROSSerialization.lf"
lfc: info: ##### Generating code for federate federate__c in directory /home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/C/Distributed/fed-gen/TimeLimitDistributedROSSerialization/src
lfc: info: ##### Generating code for federate federate__d in directory /home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/C/Distributed/fed-gen/TimeLimitDistributedROSSerialization/src
lfc: info: ******** Using 1 threads to compile the program.
lfc: info: Generating code for: file:/home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/C/Distributed/fed-gen/TimeLimitDistributedROSSerialization/src/federate__c.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/C/Distributed/fed-gen/TimeLimitDistributedROSSerialization/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}
- 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.
CMake Deprecation Warning at CMakeLists.txt:26 (cmake_policy):
The OLD behavior for policy CMP0023 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Error at CMakeListsExtension.txt:3 (find_package):
By not providing "Findstd_msgs.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "std_msgs",
but CMake did not find one.
Could not find a package configuration file provided by "std_msgs" with any
of the following names:
std_msgsConfig.cmake
std_msgs-config.cmake
Add the installation prefix of "std_msgs" to CMAKE_PREFIX_PATH or set
"std_msgs_DIR" to a directory containing one of the above files. If
"std_msgs" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:105 (include)
lfc: info: Generating code for: file:/home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/C/Distributed/fed-gen/TimeLimitDistributedROSSerialization/src/federate__d.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/C/Distributed/fed-gen/TimeLimitDistributedROSSerialization/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}
- 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 th
|
Run lf-lang/action-check-lf-files@main
Error: Command failed: lfc "./Python/Savina/PingPong.lf"
lfc: warning: File 'PingPong.lf' is not located in an 'src' directory.
lfc: warning: Adopting the current working directory as the package root.
lfc: info: Generating code for: file:/home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/./Python/Savina/PingPong.lf
lfc: info: Generation mode: STANDALONE
lfc: info: Generating sources into: /home/runner/work/benchmarks-lingua-franca/benchmarks-lingua-franca/src-gen/Python/Savina/PingPong
lfc: info: Target Configuration:
- fast: true
- compiler: gcc
lfc: error: Conflicting main reactor in ../../C/Savina/src/micro/PingPong.lf
--> Python/Savina/PingPong.lf:69:1
|
68 |
| >>>>>>>>>>>>>>
69 | main reactor PingPong {
70 | ping = new Ping(count=10000)
| ...
73 | pong.send -> ping.receive
74 | }
| < Conflicting main reactor in ../../C/Savina/src/micro/PingPong.lf
75 |
lfc: error: Conflicting main reactor in ../../Cpp/Savina/src/micro/PingPong.lf
--> Python/Savina/PingPong.lf:69:1
|
68 |
| >>>>>>>>>>>>>>
69 | main reactor PingPong {
70 | ping = new Ping(count=10000)
| ...
73 | pong.send -> ping.receive
74 | }
| < Conflicting main reactor in ../../Cpp/Savina/src/micro/PingPong.lf
75 |
lfc: error: Conflicting main reactor in ../../Rust/Savina/src/micro/PingPong.lf
--> Python/Savina/PingPong.lf:69:1
|
68 |
| >>>>>>>>>>>>>>
69 | main reactor PingPong {
70 | ping = new Ping(count=10000)
| ...
73 | pong.send -> ping.receive
74 | }
| < Conflicting main reactor in ../../Rust/Savina/src/micro/PingPong.lf
75 |
lfc: error: Conflicting main reactor in ../../TS/Savina/src/micro/PingPong.lf
--> Python/Savina/PingPong.lf:69:1
|
68 |
| >>>>>>>>>>>>>>
69 | main reactor PingPong {
70 | ping = new Ping(count=10000)
| ...
73 | pong.send -> ping.receive
74 | }
| < Conflicting main reactor in ../../TS/Savina/src/micro/PingPong.lf
75 |
lfc: error: Conflicting main reactor in ../../lingua-franca/test/C/src/PingPong.lf
--> Python/Savina/PingPong.lf:69:1
|
68 |
| >>>>>>>>>>>>>>
69 | main reactor PingPong {
70 | ping = new Ping(count=10000)
| ...
73 | pong.send -> ping.receive
74 | }
| < Conflicting main reactor in ../../lingua-franca/test/C/src/PingPong.lf
75 |
lfc: error: Conflicting main reactor in ../../lingua-franca/test/Python/src/PingPong.lf
--> Python/Savina/PingPong.lf:69:1
|
68 |
| >>>>>>>>>>>>>>
69 | main reactor PingPong {
70 | ping = new Ping(count=10000)
| ...
73 | pong.send -> ping.receive
74 | }
| < Conflicting main reactor in ../../lingua-franca/test/Python/src/PingPong.lf
75 |
lfc: fatal error: Aborting due to 6 previous errors.
|
Run lf-lang/action-check-lf-files@main
3 file(s) failed compile check
|
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/.
|
Loading