Skip to content

Instantly share code, notes, and snippets.

@alejandrade
Created April 14, 2022 19:13
Show Gist options
  • Save alejandrade/82edaca007b8ea9c1a41947ea48f884c to your computer and use it in GitHub Desktop.
Save alejandrade/82edaca007b8ea9c1a41947ea48f884c to your computer and use it in GitHub Desktop.
validator.error
error: unexpected closing delimiter: `}`
--> canister/backend/src/lib.rs:1506:1
|
392 | fn init() {
| - this opening brace...
...
1505 | }
| - ...matches this closing brace
1506 | });
| ^ unexpected closing delimiter
error: mismatched closing delimiter: `}`
--> canister/backend/src/lib.rs:445:41
|
392 | fn init() {
| - closing delimiter possibly meant for this
...
445 | boa_context.eval(format!(
| ^ unclosed delimiter
...
1502 | }
| ^ mismatched closing delimiter
error: could not compile `backend` due to 2 previous errors
Error: Command failed: cd target/azle && CARGO_TARGET_DIR=.. cargo build --target wasm32-unknown-unknown --package backend --release
at checkExecSyncError (node:child_process:826:11)
at execSync (node:child_process:900:15)
at compileRustCode (/home/daniel/Documents/crypto/cold-news/node_modules/azle/src/azle.ts:98:13)
at azle (/home/daniel/Documents/crypto/cold-news/node_modules/azle/src/azle.ts:42:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
status: 101,
signal: null,
output: [ null, null, null ],
pid: 33589,
stdout: null,
stderr: null
}
The build step failed for canister 'rdmx6-jaaaa-aaaaa-aaadq-cai' with an embedded error: The custom tool failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment