Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build Error - Dependencies update needed #5

@AmoyCherry

Description

@AmoyCherry

Operation

git clone
# install dependencies
cargo build --release

Error

error: no rules expected :
   --> syz_wrapper/src/repro.rs:178:16
    |
178 | let conf = json!({
    | ______________^
179 | | "target": &conf.target,
180 | | "http": "127.0.0.1:65534",
181 | | "workdir": &conf.work_dir,
... |
193 | | });
    | |____^ no rules expected this token in macro call
    |
note: while trying to match =>
   --> /home/parallels/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/simd-json-0.4.15/src/macros.rs:296:46
    |
296 | (@object @count [@entries $(($value:expr => $($key:tt)+))*]) => {
    | ^^
    = note: this error originates in the macro json_internal_owned which comes from the expansion of the macro json (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile syz_wrapper (lib) due to 2 previous errors

Solution

Changing simd-json = "0.4" => simd-json = "0.9"

version = "0.4"

There should be better versions for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions