error: Failed to parse code decorated with `metadata!{}` macro. Only valid Rust is supported. --> $DIR/metadata_invalid_rust.rs:3:1 | 3 | / metadata! { 4 | | FOOBAR 5 | | 6 | | #[near_bindgen] ... | 17 | | } 18 | | } | | ^ in this macro invocation | |_| | warning: unused import: `near_bindgen` --> $DIR/metadata_invalid_rust.rs:1:20 | 1 | use near_bindgen::{near_bindgen, metadata}; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `BorshDeserialize`, `BorshSerialize` --> $DIR/metadata_invalid_rust.rs:2:13 | 2 | use borsh::{BorshDeserialize, BorshSerialize}; | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^