Skip to content

[Pratt Parser] Add AstFactory templatized to support different AST implementations#2132

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_943561016
Open

[Pratt Parser] Add AstFactory templatized to support different AST implementations#2132
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_943561016

[Pratt Parser] Add AstFactory templatized to support different AST im…

e36caf0
Select commit
Loading
Failed to load commit list.
Google Cloud Build / cel-cpp-builder (cel-analysis) failed Jul 7, 2026 in 1m 50s

Summary

Build Information

Trigger cel-cpp-builder
Build 40aa01cb-31cf-44fd-8237-93728827eeda
Start 2026-07-07T09:50:53-07:00
Duration 52.761s
Status FAILURE

Steps

Step Status Duration
gcc-10 FAILURE 38.829s
clang-14 FAILURE 38.829s

Details

starting build "40aa01cb-31cf-44fd-8237-93728827eeda"

FETCHSOURCE
From https://github.com/cel-expr/cel-cpp
 * branch            e36caf03c93f45b0bafeab6330ae5dff719026dc -> FETCH_HEAD
HEAD is now at e36caf0 [Pratt Parser] Add AstFactory templatized to support different AST implementations
GitCommit:
e36caf03c93f45b0bafeab6330ae5dff719026dc
BUILD
Starting Step #1 - "clang-14"
Starting Step #0 - "gcc-10"
Step #1 - "clang-14": Pulling image: gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #0 - "gcc-10": Pulling image: gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #0 - "gcc-10": gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2: Pulling from cel-analysis/cel-cpp/ubuntu_floor
Step #0 - "gcc-10": 97e1ee089ace: Already exists
Step #0 - "gcc-10": d2ba40cd490a: Pulling fs layer
Step #0 - "gcc-10": c92265d8931c: Pulling fs layer
Step #0 - "gcc-10": 9adcc882dd28: Pulling fs layer
Step #0 - "gcc-10": d1f3f2353939: Pulling fs layer
Step #0 - "gcc-10": 087ec44aa706: Pulling fs layer
Step #0 - "gcc-10": 7bc58efb59f1: Pulling fs layer
Step #0 - "gcc-10": f48ad795bfd4: Pulling fs layer
Step #0 - "gcc-10": f48ad795bfd4: Waiting
Step #1 - "clang-14": gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2: Pulling from cel-analysis/cel-cpp/ubuntu_floor
Step #1 - "clang-14": 97e1ee089ace: Already exists
Step #1 - "clang-14": d2ba40cd490a: Pulling fs layer
Step #1 - "clang-14": c92265d8931c: Pulling fs layer
Step #1 - "clang-14": 9adcc882dd28: Pulling fs layer
Step #1 - "clang-14": d1f3f2353939: Pulling fs layer
Step #1 - "clang-14": 087ec44aa706: Pulling fs layer
Step #1 - "clang-14": 7bc58efb59f1: Pulling fs layer
Step #1 - "clang-14": f48ad795bfd4: Pulling fs layer
Step #1 - "clang-14": f48ad795bfd4: Waiting
Step #0 - "gcc-10": 087ec44aa706: Verifying Checksum
Step #0 - "gcc-10": 087ec44aa706: Download complete
Step #1 - "clang-14": 087ec44aa706: Verifying Checksum
Step #1 - "clang-14": 087ec44aa706: Download complete
Step #1 - "clang-14": d1f3f2353939: Verifying Checksum
Step #1 - "clang-14": d1f3f2353939: Download complete
Step #0 - "gcc-10": d1f3f2353939: Download complete
Step #1 - "clang-14": c92265d8931c: Verifying Checksum
Step #1 - "clang-14": c92265d8931c: Download complete
Step #0 - "gcc-10": c92265d8931c: Verifying Checksum
Step #0 - "gcc-10": c92265d8931c: Download complete
Step #1 - "clang-14": 9adcc882dd28: Verifying Checksum
Step #1 - "clang-14": 9adcc882dd28: Download complete
Step #0 - "gcc-10": 9adcc882dd28: Verifying Checksum
Step #0 - "gcc-10": 9adcc882dd28: Download complete
Step #0 - "gcc-10": 7bc58efb59f1: Verifying Checksum
Step #0 - "gcc-10": 7bc58efb59f1: Download complete
Step #1 - "clang-14": 7bc58efb59f1: Download complete
Step #1 - "clang-14": f48ad795bfd4: Verifying Checksum
Step #1 - "clang-14": f48ad795bfd4: Download complete
Step #0 - "gcc-10": f48ad795bfd4: Verifying Checksum
Step #0 - "gcc-10": f48ad795bfd4: Download complete
Step #1 - "clang-14": d2ba40cd490a: Verifying Checksum
Step #1 - "clang-14": d2ba40cd490a: Download complete
Step #0 - "gcc-10": d2ba40cd490a: Verifying Checksum
Step #0 - "gcc-10": d2ba40cd490a: Download complete
Step #0 - "gcc-10": d2ba40cd490a: Pull complete
Step #1 - "clang-14": d2ba40cd490a: Pull complete
Step #0 - "gcc-10": c92265d8931c: Pull complete
Step #1 - "clang-14": c92265d8931c: Pull complete
Step #1 - "clang-14": 9adcc882dd28: Pull complete
Step #0 - "gcc-10": 9adcc882dd28: Pull complete
Step #0 - "gcc-10": d1f3f2353939: Pull complete
Step #1 - "clang-14": d1f3f2353939: Pull complete
Step #0 - "gcc-10": 087ec44aa706: Pull complete
Step #1 - "clang-14": 087ec44aa706: Pull complete
Step #1 - "clang-14": 7bc58efb59f1: Pull complete
Step #0 - "gcc-10": 7bc58efb59f1: Pull complete
Step #0 - "gcc-10": f48ad795bfd4: Pull complete
Step #1 - "clang-14": f48ad795bfd4: Pull complete
Step #0 - "gcc-10": Digest: sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #1 - "clang-14": Digest: sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #0 - "gcc-10": Status: Downloaded newer image for gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #1 - "clang-14": Status: Image is up to date for gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #1 - "clang-14": gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #0 - "gcc-10": gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2
Step #1 - "clang-14": 2026/07/07 16:51:21 Downloading https://releases.bazel.build/8.7.0/release/bazel-8.7.0-linux-x86_64...
Step #1 - "clang-14": 2026/07/07 16:51:21 Skipping basic authentication for releases.bazel.build because no credentials found in /builder/home/.netrc
Step #0 - "gcc-10": 2026/07/07 16:51:21 Downloading https://releases.bazel.build/8.7.0/release/bazel-8.7.0-linux-x86_64...
Step #0 - "gcc-10": 2026/07/07 16:51:21 Skipping basic authentication for releases.bazel.build because no credentials found in /builder/home/.netrc
Step #1 - "clang-14": Extracting Bazel installation...
Step #0 - "gcc-10": Extracting Bazel installation...
Step #1 - "clang-14": Starting local Bazel server (8.7.0) and connecting to it...
Step #0 - "gcc-10": Starting local Bazel server (8.7.0) and connecting to it...
Step #0 - "gcc-10": (16:51:27) WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead.
Step #0 - "gcc-10": (16:51:27) INFO: Invocation ID: df59fd31-4a92-4d7c-ad9a-555d8d9c94c2
Step #0 - "gcc-10": (16:51:27) INFO: Current date is 2026-07-07
Step #0 - "gcc-10": (16:51:27) Computing main repo mapping: 
Step #1 - "clang-14": (16:51:27) WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead.
Step #1 - "clang-14": (16:51:27) INFO: Invocation ID: 8d252731-1e04-42ea-a2c9-1bcf5ee17dff
Step #1 - "clang-14": (16:51:27) INFO: Current date is 2026-07-07
Step #1 - "clang-14": (16:51:27) Computing main repo mapping: 
Step #0 - "gcc-10": (16:51:28) Computing main repo mapping: 
Step #1 - "clang-14": (16:51:28) Computing main repo mapping: 
Step #0 - "gcc-10": (16:51:29) WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.2.14, but got rules_cc@0.2.18 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Step #0 - "gcc-10": (16:51:29) WARNING: For repository 'rules_java', the root module requires module version rules_java@8.6.1, but got rules_java@8.14.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Step #0 - "gcc-10": (16:51:29) WARNING: For repository 'platforms', the root module requires module version platforms@1.0.0, but got platforms@1.1.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Step #1 - "clang-14": (16:51:29) WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.2.14, but got rules_cc@0.2.18 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Step #1 - "clang-14": (16:51:29) WARNING: For repository 'rules_java', the root module requires module version rules_java@8.6.1, but got rules_java@8.14.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Step #1 - "clang-14": (16:51:29) WARNING: For repository 'platforms', the root module requires module version platforms@1.0.0, but got platforms@1.1.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Step #0 - "gcc-10": (16:51:29) Computing main repo mapping: 
Step #0 - "gcc-10": (16:51:29) WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead.
Step #0 - "gcc-10": (16:51:29) Loading: 
Step #0 - "gcc-10": (16:51:29) Loading: 0 packages loaded
Step #1 - "clang-14": (16:51:29) Computing main repo mapping: 
Step #1 - "clang-14": (16:51:29) WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead.
Step #1 - "clang-14": (16:51:29) Loading: 
Step #1 - "clang-14": (16:51:29) Loading: 0 packages loaded
Step #0 - "gcc-10": (16:51:30) Loading: 0 packages loaded
Step #1 - "clang-14": (16:51:30) Loading: 0 packages loaded
Step #0 - "gcc-10": (16:51:31) Loading: 44 packages loaded
Step #0 - "gcc-10":     currently loading: tools/testdata
Step #1 - "clang-14": (16:51:31) Loading: 44 packages loaded
Step #1 - "clang-14":     currently loading: tools/testdata
Step #0 - "gcc-10": (16:51:32) Analyzing: 690 targets (45 packages loaded, 0 targets configured)
Step #1 - "clang-14": (16:51:32) Analyzing: 690 targets (45 packages loaded, 0 targets configured)
Step #0 - "gcc-10": (16:51:32) Analyzing: 690 targets (45 packages loaded, 0 targets configured)
Step #0 - "gcc-10": 
Step #1 - "clang-14": (16:51:32) Analyzing: 690 targets (45 packages loaded, 0 targets configured)
Step #1 - "clang-14": 
Step #0 - "gcc-10": (16:51:33) Analyzing: 690 targets (130 packages loaded, 81 targets configured)
Step #0 - "gcc-10": [1 / 1] no actions running
Step #1 - "clang-14": (16:51:33) Analyzing: 690 targets (130 packages loaded, 81 targets configured)
Step #1 - "clang-14": [1 / 1] no actions running
Step #0 - "gcc-10": (16:51:34) Analyzing: 690 targets (152 packages loaded, 3446 targets configured)
Step #0 - "gcc-10": [1 / 1] no actions running
Step #1 - "clang-14": (16:51:34) Analyzing: 690 targets (137 packages loaded, 224 targets configured)
Step #1 - "clang-14": [1 / 1] no actions running
Step #0 - "gcc-10": (16:51:35) ERROR: no such package 'testing/fuzzing': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
Step #0 - "gcc-10":  - testing/fuzzing
Step #0 - "gcc-10": (16:51:35) ERROR: /workspace/parser/internal/BUILD:86:8: no such package 'testing/fuzzing': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
Step #0 - "gcc-10":  - testing/fuzzing and referenced by '//parser/internal:lexer_fuzzer'
Step #1 - "clang-14": (16:51:35) ERROR: no such package 'testing/fuzzing': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
Step #1 - "clang-14":  - testing/fuzzing
Step #1 - "clang-14": (16:51:35) ERROR: /workspace/parser/internal/BUILD:86:8: no such package 'testing/fuzzing': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
Step #1 - "clang-14":  - testing/fuzzing and referenced by '//parser/internal:lexer_fuzzer'
Step #0 - "gcc-10": (16:51:35) ERROR: Analysis of target '//parser/internal:lexer_fuzzer' failed; build aborted: Analysis failed
Step #0 - "gcc-10": (16:51:35) INFO: Elapsed time: 13.062s, Critical Path: 0.05s
Step #0 - "gcc-10": (16:51:35) INFO: 1 process: 1 internal.
Step #0 - "gcc-10": (16:51:35) ERROR: Build did NOT complete successfully
Step #0 - "gcc-10": (16:51:35) FAILED: 
Step #0 - "gcc-10": (16:51:35) ERROR: No test targets were found, yet testing was requested
Step #1 - "clang-14": (16:51:35) ERROR: Analysis of target '//parser/internal:lexer_fuzzer' failed; build aborted: Analysis failed
Step #1 - "clang-14": (16:51:35) INFO: Elapsed time: 13.139s, Critical Path: 0.04s
Step #1 - "clang-14": (16:51:35) INFO: 1 process: 1 internal.
Step #1 - "clang-14": (16:51:35) ERROR: Build did NOT complete successfully
Step #1 - "clang-14": (16:51:35) FAILED: 
Step #1 - "clang-14": (16:51:35) ERROR: No test targets were found, yet testing was requested
Finished Step #1 - "clang-14"
Finished Step #0 - "gcc-10"
ERROR
ERROR: build step 1 "gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2" failed: step exited with non-zero status: 1

Build Log: https://console.cloud.google.com/cloud-build/builds/40aa01cb-31cf-44fd-8237-93728827eeda?project=676743559828