Skip to content

error: failed to run custom build command for `graph-chain-substreams v0.28.2 (graph-node/chain/substreams) #4168

@harshchhatbar34

Description

@harshchhatbar34

I am trying to run a cargo Build and facing this issue

error: failed to run custom build command for graph-chain-substreams v0.28.2 (/home/harsh/zeeve/GRAPH/graph-node/chain/substreams)

Caused by:
process didn't exit successfully: /home/harsh/zeeve/GRAPH/graph-node/target/debug/build/graph-chain-substreams-025de39176fcb4a4/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-changed=proto

--- stderr
thread 'main' panicked at 'Failed to compile Substreams entity proto(s): Custom { kind: Other, error: "protoc failed: codec.proto:44:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\ncodec.proto:45:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\n" }', chain/substreams/build.rs:6:10
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions