radareorg / radeco

radare2-based decompiler and symbol executor
371 stars 52 forks source link

Build error: unknown field in src/frontend/containers.rs #58

Closed vlad-ivanov-name closed 7 years ago

vlad-ivanov-name commented 7 years ago
[vlad@aspire-v3 radeco-lib]$ git reset --hard
HEAD is now at 883ddfe Command line arguments (#57)
[vlad@aspire-v3 radeco-lib]$ rustc --version
rustc 1.15.1
[vlad@aspire-v3 radeco-lib]$ cargo build 
   Compiling radeco-lib v0.1.0 (file:///opt/radeco-lib)
error: no field `base` on type `std::string::String`
   --> src/frontend/containers.rs:305:41
    |
305 |         println!("{:?} {:?}", reference.base, reference.offset);
    |                                         ^^^^ unknown field

error: no field `offset` on type `std::string::String`
   --> src/frontend/containers.rs:305:57
    |
305 |         println!("{:?} {:?}", reference.base, reference.offset);
    |                                                         ^^^^^^ unknown field

error: aborting due to 2 previous errors

error: Could not compile `radeco-lib`.

To learn more, run the command again with --verbose.
vlad-ivanov-name commented 7 years ago

Solved with cargo update — there is no version information in r2pipe dependency so it didn't update automatically.