Skip to content

error in compiling poc-framework 0.1.5 #3

@vaioco

Description

@vaioco

Hi
Im using the local setup configuration
The workspace build was successful but I got an error while running the level with

RUST_BACKTRACE=1 cargo run --bin level3

I got

   Compiling poc-framework v0.1.5
error: expected None-delimited group
   --> /poc-framework-0.1.5/src/lib.rs:717:21
    |
717 |                     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: expected None-delimited group
   --> /poc-framework-0.1.5/src/lib.rs:718:21
    |
718 |                     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
   --> /poc-framework-0.1.5/src/lib.rs:719:21
    |
719 |                     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: could not compile `poc-framework` (lib) due to 3 previous errors

rust version
solana toolchain version

➜  neodyme-breakpoint-workshop git:(main) ✗ rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)
➜  neodyme-breakpoint-workshop git:(main) ✗ solana --version
solana-cli 1.17.14 (src:cc7c59af; feat:1237720363, client:SolanaLabs)
➜  neodyme-breakpoint-workshop git:(main) ✗ 

im running on mac OS.
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions