This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
solana-program-test doesn't compile with Rust 1.61.0 #25474
Closed
Description
Problem
Compiling solana-program-test v1.10.0
error: expected None-delimited group
--> /home/farseen/.cargo/registry/src/6github.com-1ecc6299db9ec823/solana-program-test-1.10.0/src/lib.rs:806:22
|
806 | add_builtin!(solana_bpf_loader_deprecated_program!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `solana_bpf_loader_deprecated_program` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected None-delimited group
--> /home/farseen/.cargo/registry/src/6github.com-1ecc6299db9ec823/solana-program-test-1.10.0/src/lib.rs:808:26
|
808 | add_builtin!(solana_bpf_loader_program_with_jit!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `solana_bpf_loader_program_with_jit` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected None-delimited group
--> /home/farseen/.cargo/registry/src/6github.com-1ecc6299db9ec823/solana-program-test-1.10.0/src/lib.rs:809:26
|
809 | add_builtin!(solana_bpf_loader_upgradeable_program_with_jit!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `solana_bpf_loader_upgradeable_program_with_jit` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected None-delimited group
--> /home/farseen/.cargo/registry/src/6github.com-1ecc6299db9ec823/solana-program-test-1.10.0/src/lib.rs:811:26
|
811 | add_builtin!(solana_bpf_loader_program!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `solana_bpf_loader_program` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected None-delimited group
--> /home/farseen/.cargo/registry/src/6github.com-1ecc6299db9ec823/solana-program-test-1.10.0/src/lib.rs:812:26
|
812 | add_builtin!(solana_bpf_loader_upgradeable_program!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `solana_bpf_loader_upgradeable_program` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `solana-program-test` due to 15 previous errors
Potential cause
- Proc macros no longer see ident matchers wrapped in groups
proc-macro: Stop wrappingident
matchers into groups rust-lang/rust#92472
Proposed Solution
N/A
Metadata
Metadata
Assignees
Labels
No labels