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
When running the cargo install --git https://github.com/foundry-rs/foundry --profile local --locked forge cast chisel anvil command in PowerShell to update the framework (Windows 10), I get the following error:
NOTE: I'm able to update succesfully via foundryup when using the WSL terminal in the same machine.
error: couldn't read C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\../doctests/structs.rs: The system cannot find the path specified. (os error 3)
--> C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\lib.rs:123:9
|
123 | #[doc = include_str!("../doctests/structs.rs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\../doctests/types.rs: The system cannot find the path specified. (os error 3)
--> C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\lib.rs:132:9
|
132 | #[doc = include_str!("../doctests/types.rs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\../doctests/function_like.rs: The system cannot find the path specified. (os error 3)
--> C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\lib.rs:148:9
|
148 | #[doc = include_str!("../doctests/function_like.rs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\../doctests/events.rs: The system cannot find the path specified. (os error 3)
--> C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\lib.rs:160:9
|
160 | #[doc = include_str!("../doctests/events.rs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\../doctests/contracts.rs: The system cannot find the path specified. (os error 3)
--> C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\lib.rs:172:9
|
172 | #[doc = include_str!("../doctests/contracts.rs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\../doctests/json.rs: The system cannot find the path specified. (os error 3)
--> C:\Users\juanx\.cargo\git\checkouts\core-3f428e9ca4699f0e\8c0db49\crates\sol-macro\src\lib.rs:193:9
|
193 | #[doc = include_str!("../doctests/json.rs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `alloy-sol-macro` (lib) due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `chisel v0.2.0 (https://github.com/foundry-rs/foundry#c931b70d)`, intermediate artifacts can be found at `C:\Users\juanx\AppData\Local\Temp\cargo-installchTae9`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
error: failed to compile `anvil v0.2.0 (https://github.com/foundry-rs/foundry#c931b70d)`, intermediate artifacts can be found at `C:\Users\juanx\AppData\Local\Temp\cargo-installKm3Fp3`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Summary Failed to install forge, cast, chisel, anvil (see error(s) above).
error: some crates failed to install
The text was updated successfully, but these errors were encountered:
Component
cargo
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (394f217 2023-03-20T16:48:08.2804601Z)
What command(s) is the bug in?
cargo install --git https://github.com/foundry-rs/foundry --profile local --locked forge cast chisel anvil
Operating System
Windows
Describe the bug
When running the
cargo install --git https://github.com/foundry-rs/foundry --profile local --locked forge cast chisel anvil
command in PowerShell to update the framework (Windows 10), I get the following error:NOTE: I'm able to update succesfully via
foundryup
when using the WSL terminal in the same machine.The text was updated successfully, but these errors were encountered: