You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you ensured that all of these are up to date?
Foundry
Foundryup
What version of Foundry are you on?
No response
What command(s) is the bug in?
cargo build --release
Operating System
Windows
Describe the bug
The build fails:
error: failed to run custom build command for `zksync_protobuf v0.1.0 (https://github.com/matter-labs/era-consensus.git?rev=49b1a98f80d0e9f74fdceadece4283e745c71599#49b1a98f)`
Caused by:
process didn't exit successfully: `D:\projects\theta\foundry-zksync\target\local\build\zksync_protobuf-9cd30369f4f45ba5\build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=src/proto
--- stderr
thread 'main' panicked at C:\Users\Nico\.cargo\git\checkouts\era-consensus-faf08358d069ebce\49b1a98\node\libs\protobuf\build.rs:12:6:
generate(std): file 'zksync\std.proto' is not in any include path
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `zkcast v0.2.0 (D:\projects\theta\foundry-zksync\crates\zkcast)`, intermediate artifacts can be found at `D:\projects\theta\foundry-zksync\target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Component
Forge, Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
No response
What command(s) is the bug in?
cargo build --release
Operating System
Windows
Describe the bug
The build fails:
the stack backtrace:
I ran
rustup update nightly
but the error persists. I'm not familiar with rust so no idea how to debug this.The text was updated successfully, but these errors were encountered: