reutermj / cortecs-c

MIT License
1 stars 0 forks source link

chore(deps): update dependency rules_cc to v0.1.0 #500

Open reutermj opened 2 days ago

reutermj commented 2 days ago
mark@mark:~/data/CodeProjects/cortecs-c$ CC=gcc bazel coverage --instrumentation_filter //source/... --combined_report=lcov //test/...
WARNING: Build options --collect_code_coverage and --instrumentation_filter have changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
ERROR: Traceback (most recent call last):
        File "/home/mark/.cache/bazel/_bazel_mark/3ab05b68e1780916359aff61193dc939/external/rules_java~~toolchains~remote_java_tools/BUILD", line 7, column 60, in <toplevel>
                load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_proto_library")
Error: file '@rules_cc//cc:defs.bzl' does not contain symbol 'cc_proto_library'
ERROR: /home/mark/.cache/bazel/_bazel_mark/3ab05b68e1780916359aff61193dc939/external/rules_java~~toolchains~remote_java_tools/BUILD: no such target '@@rules_java~~toolchains~remote_java_tools//:jacoco_coverage_runner_filegroup': target 'jacoco_coverage_runner_filegroup' not declared in package '' defined by /home/mark/.cache/bazel/_bazel_mark/3ab05b68e1780916359aff61193dc939/external/rules_java~~toolchains~remote_java_tools/BUILD
ERROR: /home/mark/.cache/bazel/_bazel_mark/3ab05b68e1780916359aff61193dc939/external/rules_java~/toolchains/BUILD:274:27: no such target '@@rules_java~~toolchains~remote_java_tools//:jacoco_coverage_runner_filegroup': target 'jacoco_coverage_runner_filegroup' not declared in package '' defined by /home/mark/.cache/bazel/_bazel_mark/3ab05b68e1780916359aff61193dc939/external/rules_java~~toolchains~remote_java_tools/BUILD and referenced by '@@rules_java~//toolchains:toolchain_java8'
ERROR: Analysis of target '//test/cortecs/log:log' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.115s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
ERROR: No test targets were found, yet testing was requested

there appears to be something misconfigured somewhere in the coverage test runner