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
$ ./run.sh deploy
BPF SDK: /home/phil/Downloads/solana-1.10.8/bin/sdk/bpf
cargo-build-bpf child: rustup toolchain list -v
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release
Compiling getrandom v0.1.16
Compiling rayon-core v1.9.3
Compiling generic-array v0.14.5
Compiling toml v0.5.9
Compiling bv v0.11.1
Compiling serde_bytes v0.11.6
Compiling bincode v1.3.3
error: target is not supported, for more information see: https://docs.rs/getrandom/#unsupported-targets
--> /home/phil/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.16/src/lib.rs:267:9
|
267 | / compile_error!("\
268 | | target is not supported, for more information see: \
269 | | https://docs.rs/getrandom/#unsupported-targets\
270 | | ");
| |___________^
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
--> /home/phil/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.16/src/lib.rs:291:5
|
291 | imp::getrandom_inner(dest)
| ^^^ use of undeclared crate or module `imp`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `getrandom` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0599]: no method named `lock` found for struct `Stderr` in the current scope
--> /home/phil/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-core-1.9.3/src/log.rs:266:52
|
266 | let mut writer = BufWriter::new(stderr.lock());
| ^^^^ method not found in `Stderr`
For more information about this error, try `rustc --explain E0599`.
error: build failed
Error: Unable to open program file: No such file or directory (os error 2)
$ cargo build-bpf --manifest-path=program/Cargo.toml --bpf-out-dir=dist/program
BPF SDK: /home/phil/Downloads/solana-1.10.8/bin/sdk/bpf
cargo-build-bpf child: rustup toolchain list -v
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release
Compiling getrandom v0.1.16
Compiling serde v1.0.139
Compiling rayon-core v1.9.3
Compiling wasm-bindgen-macro-support v0.2.81
Compiling thiserror v1.0.31
Compiling solana-program v1.11.2
Compiling solana-frozen-abi-macro v1.11.2
error: target is not supported, for more information see: https://docs.rs/getrandom/#unsupported-targets
--> /home/phil/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.16/src/lib.rs:267:9
|
267 | / compile_error!("\
268 | | target is not supported, for more information see: \
269 | | https://docs.rs/getrandom/#unsupported-targets\
270 | | ");
| |___________^
Compiling bytemuck v1.10.0
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
--> /home/phil/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.16/src/lib.rs:291:5
|
291 | imp::getrandom_inner(dest)
| ^^^ use of undeclared crate or module `imp`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `getrandom` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0599]: no method named `lock` found for struct `Stderr` in the current scope
--> /home/phil/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-core-1.9.3/src/log.rs:266:52
|
266 | let mut writer = BufWriter::new(stderr.lock());
| ^^^^ method not found in `Stderr`
For more information about this error, try `rustc --explain E0599`.
error: build failed
The text was updated successfully, but these errors were encountered:
Hey, I run into the same issue, but a simple upgrade solved my issue sh -c "$(curl -sSfL https://release.solana.com/stable/install)" I'm on solana-cli 1.10.35.
The text was updated successfully, but these errors were encountered: